From f8a005d1f984382272ad10cabd88c0422d4e76e8 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 9 Oct 2012 00:23:24 +0100 Subject: [PATCH] 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 --- src/sna/sna_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ®ion)) + if (!sna_gc_move_to_cpu(gc, dst, region)) return; if (src == dst ||