mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-26 01:59:57 +00:00
Fix bugs in support for new repeatTypes in XAA and EXA.
EXA now won't pass pictures with new repeatTypes to drivers. We can add a flag for them to support it at a later time.
This commit is contained in:
parent
f5e92542a1
commit
7106a77df3
2 changed files with 11 additions and 2 deletions
|
|
@ -218,7 +218,13 @@ XAADoComposite (
|
|||
|
||||
if (pDst->alphaMap || pSrc->alphaMap || (pMask && pMask->alphaMap))
|
||||
return FALSE;
|
||||
|
||||
|
||||
if ((pSrc->repeat && pSrc->repeatType != RepeatNormal) ||
|
||||
(pMask && pMask->repeat && pMask->repeatType != RepeatNormal))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
xDst += pDst->pDrawable->x;
|
||||
yDst += pDst->pDrawable->y;
|
||||
xSrc += pSrc->pDrawable->x;
|
||||
|
|
|
|||
Loading…
Reference in a new issue