diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-12-04 08:37:14 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-12-04 07:46:15 -0800 |
commit | bb7acfbcfbc37869c2215c26791c6175a5a6c526 (patch) | |
tree | 1225a3ec5a4fa00a7b617cd7be708151cfdeb1a7 | |
parent | 0f4ef7123d3e6e09e04dc55e8edb47aecf017648 (diff) |
EXA: Use correct coordinate system for calculating Composite fallback region.
Fixes incorrectly skipped rendering of some Composite operations to windows.
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | exa/exa_unaccel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c index 9bc765a53..eee14da4a 100644 --- a/exa/exa_unaccel.c +++ b/exa/exa_unaccel.c @@ -414,7 +414,9 @@ ExaCheckComposite (CARD8 op, PixmapPtr pDstPix; if (!miComputeCompositeRegion (®ion, pSrc, pMask, pDst, - xSrc, ySrc, xMask, yMask, xDst, yDst, + xSrc, ySrc, xMask, yMask, + xDst + pDst->pDrawable->x, + yDst + pDst->pDrawable->y, width, height)) goto skip; |