summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-09 00:23:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-09 00:23:24 +0100
commitf8a005d1f984382272ad10cabd88c0422d4e76e8 (patch)
tree3409a8fa102dddd2c00424b955cd8ba2196ac9d0
parentfb5205a86da09b344dbc20598655e917c263125c (diff)
sna: Pass the region, not its pointer, when moving the GC to the CPU
Fortunately, the sgc->region was not used along that particular fallback path. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 862b2969..3d8392f9 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -5011,7 +5011,7 @@ sna_fallback_copy_boxes(DrawablePtr src, DrawablePtr dst, GCPtr gc,
region->extents.x2, region->extents.y2,
dx, dy, gc->alu));
- if (!sna_gc_move_to_cpu(gc, dst, &region))
+ if (!sna_gc_move_to_cpu(gc, dst, region))
return;
if (src == dst ||