summaryrefslogtreecommitdiff
path: root/src/sna/sna_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-19 16:22:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-19 16:51:50 +0100
commit15d3eea7004822e5cbd48d676692e1b6a2b26d3e (patch)
treed0a43a88e2b8e16d3ec7165dfe60b510cb6b8c6e /src/sna/sna_render.c
parente4fce3b7801038e4f64d848a0995f4b441b4d2aa (diff)
sna: Handle mixed bo/buffers in assertions
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r--src/sna/sna_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c
index fd105f49..e503586e 100644
--- a/src/sna/sna_render.c
+++ b/src/sna/sna_render.c
@@ -1604,7 +1604,7 @@ do_fixup:
w, h);
pixman_image_unref(src);
} else {
- memset(ptr, 0, kgem_buffer_size(channel->bo));
+ memset(ptr, 0, __kgem_buffer_size(channel->bo));
dst = src;
}
}