Commit e5009866 authored by Keith Packard's avatar Keith Packard

Must offset composite parameters by drawable coordinates in accelerated

parent d694b442
......@@ -967,6 +967,15 @@ kaaComposite(CARD8 op,
RegionRec region;
xDst += pDst->pDrawable->x;
yDst += pDst->pDrawable->y;
xSrc += pSrc->pDrawable->x;
ySrc += pSrc->pDrawable->y;
if (pMask)
xMask += pMask->pDrawable->x;
yMask += pMask->pDrawable->y;
if (!miComputeCompositeRegion (&region, pSrc, pMask, pDst,
xSrc, ySrc, xMask, yMask, xDst, yDst,
width, height))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment