From 15d3eea7004822e5cbd48d676692e1b6a2b26d3e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 19 Jul 2012 16:22:20 +0100 Subject: sna: Handle mixed bo/buffers in assertions Signed-off-by: Chris Wilson --- src/sna/sna_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sna/sna_render.c') 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; } } -- cgit v1.2.3