diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-19 16:22:20 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-19 16:51:50 +0100 |
commit | 15d3eea7004822e5cbd48d676692e1b6a2b26d3e (patch) | |
tree | d0a43a88e2b8e16d3ec7165dfe60b510cb6b8c6e /src/sna/sna_render.c | |
parent | e4fce3b7801038e4f64d848a0995f4b441b4d2aa (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.c | 2 |
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; } } |