mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 17:38:02 +02:00
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>
This commit is contained in:
parent
d42f396051
commit
39cc110caa
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@ ExaCheckGetImage(DrawablePtr pDrawable, int x, int y, int w, int h,
|
|||
|
||||
exaGetDrawableDeltas(pDrawable, pPix, &xoff, &yoff);
|
||||
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue