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>
This commit is contained in:
Chris Wilson 2012-10-09 00:23:24 +01:00
parent fb5205a86d
commit f8a005d1f9
1 changed files with 1 additions and 1 deletions

View File

@ -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 ||