summaryrefslogtreecommitdiff
path: root/exa/exa_accel.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2009-12-29 09:34:42 +0100
committerKeith Packard <keithp@keithp.com>2009-12-29 11:02:40 -0800
commit39cc110caa1f6481a7213ae39f82669333ec1645 (patch)
treec56387307659120ae060ec1cfc23d47264823a7e /exa/exa_accel.c
parentd42f3960514f1c410863ac6c09c5638b5ddeae20 (diff)
EXA: Fix bugs in exaGetImage / ExaCheckGetImage migration.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Acked-by: Michel Dänzer <michel@daenzer.net> Acked-by: Maarten Maathuis <madman2003@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa/exa_accel.c')
-rw-r--r--exa/exa_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index 0f6e5f78a..c56c6bc9f 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -1270,7 +1270,7 @@ exaGetImage (DrawablePtr pDrawable, int x, int y, int w, int h,
RegionRec Reg;
ExaMigrationRec pixmaps[1];
- Box.x1 = pDrawable->y + x + xoff;
+ Box.x1 = pDrawable->x + x + xoff;
Box.y1 = pDrawable->y + y + yoff;
Box.x2 = Box.x1 + w;
Box.y2 = Box.y1 + h;