[PATCH 3/3] EXA: Fix bugs in exaGetImage / ExaCheckGetImage migration.

Maarten Maathuis madman2003 at gmail.com
Mon Dec 28 04:28:35 PST 2009


Acked-by: Maarten Maathuis <madman2003 at gmail.com>

2009/12/28 Michel Dänzer <michel at daenzer.net>:
> From: Thomas Hellstrom <thellstrom at vmware.com>
>
> Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
> Acked-by: Michel Dänzer <michel at daenzer.net>
> ---
>  exa/exa_accel.c   |    2 +-
>  exa/exa_unaccel.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/exa/exa_accel.c b/exa/exa_accel.c
> index eea799e..f34b7a7 100644
> --- a/exa/exa_accel.c
> +++ b/exa/exa_accel.c
> @@ -1274,7 +1274,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;
> diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c
> index eee14da..0dbcd53 100644
> --- a/exa/exa_unaccel.c
> +++ b/exa/exa_unaccel.c
> @@ -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;
> --
> 1.6.5.7
>
> _______________________________________________
> xorg-devel mailing list
> xorg-devel at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-devel
>


More information about the xorg-devel mailing list