diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-07 15:26:50 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-07 15:32:31 +0000 |
commit | ea6588726107f1ab0ef5a8f69d420b5bff819a76 (patch) | |
tree | a65baefcfcbfa67e908ee9ed5309dc0de6c27720 /src/sna/gen6_render.c | |
parent | 14c91e108464a305fb23b3313b842bfaeb9420fc (diff) |
sna: Apply offsets correctly for partial src/dst in large copy boxes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r-- | src/sna/gen6_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c index 59372f86..213b80bf 100644 --- a/src/sna/gen6_render.c +++ b/src/sna/gen6_render.c @@ -3278,7 +3278,8 @@ fallback_blt: extents.y2 = box[i].y2; } if (!sna_render_composite_redirect(sna, &tmp, - extents.x1, extents.y1, + extents.x1 + dst_dx, + extents.y1 + dst_dy, extents.x2 - extents.x1, extents.y2 - extents.y1)) goto fallback_tiled; |