diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-01 13:02:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-01 13:02:50 +0100 |
commit | 8eed569fb386a9af48a8beb28666d72c6678e48c (patch) | |
tree | 6764d46f8b571010ecd72739acfe939d8ab90957 /src/sna/sna_trapezoids.c | |
parent | 91419576eef562378cccf90968c4f0277139b03d (diff) |
sna/trapezoids: Correct extents declaration for fallback
Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids.c')
-rw-r--r-- | src/sna/sna_trapezoids.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c index 0fd1b032..c7f66710 100644 --- a/src/sna/sna_trapezoids.c +++ b/src/sna/sna_trapezoids.c @@ -4428,7 +4428,7 @@ trapezoid_span_fallback(CARD8 op, PicturePtr src, PicturePtr dst, region.extents.x1 = dst_x + dst->pDrawable->x; region.extents.y1 = dst_y + dst->pDrawable->y; region.extents.x2 = region.extents.x1 + extents.x2; - region.extents.y2 = region.extents.y2 + extents.y2; + region.extents.y2 = region.extents.y1 + extents.y2; region.data = NULL; DBG(("%s: move-to-cpu\n", __FUNCTION__)); |