diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-10-09 00:23:24 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-10-09 00:23:24 +0100 |
commit | f8a005d1f984382272ad10cabd88c0422d4e76e8 (patch) | |
tree | 3409a8fa102dddd2c00424b955cd8ba2196ac9d0 | |
parent | fb5205a86da09b344dbc20598655e917c263125c (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.c | 2 |
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, ®ion)) + if (!sna_gc_move_to_cpu(gc, dst, region)) return; if (src == dst || |