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:
parent
fb5205a86d
commit
f8a005d1f9
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue