summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-09-12 10:34:53 +0100
committerJosé Fonseca <[email protected]>2010-09-12 10:37:06 +0100
commit67763488b1fea01d6eb1c7d9e05ecb175918c3af (patch)
treea1783e7a008862d60ab7eb99b37663387b9a4bad /src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
parent853953dc3c5bd2ef9cca904c9cabc4a0ef037b16 (diff)
pb: Fix the build, and add notes.
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
index 4a01c7371bf..7604e75af8d 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
@@ -158,7 +158,7 @@ pb_debug_buffer_fill(struct pb_debug_buffer *buf)
{
uint8_t *map;
- map = pb_map(buf->buffer, PB_USAGE_CPU_WRITE);
+ map = pb_map(buf->buffer, PB_USAGE_CPU_WRITE, NULL);
assert(map);
if(map) {
fill_random_pattern(map, buf->underflow_size);