Fix a couple of picture repeat fields incorrectly compared to RepeatNormal.
This commit is contained in:
parent
78a2045535
commit
2866e0bac9
|
@ -627,8 +627,8 @@ exaComposite(CARD8 op,
|
|||
pMask->repeat = 0;
|
||||
|
||||
if (pExaScr->info->PrepareComposite &&
|
||||
(!pSrc->repeat || pSrc->repeat == RepeatNormal) &&
|
||||
(!pMask || !pMask->repeat || pMask->repeat == RepeatNormal) &&
|
||||
(!pSrc->repeat || pSrc->repeatType == RepeatNormal) &&
|
||||
(!pMask || !pMask->repeat || pMask->repeatType == RepeatNormal) &&
|
||||
!pSrc->alphaMap && (!pMask || !pMask->alphaMap) && !pDst->alphaMap)
|
||||
{
|
||||
Bool isSrcSolid;
|
||||
|
|
|
@ -1495,7 +1495,7 @@ fbComposite (CARD8 op,
|
|||
{
|
||||
xMask += pMask->pDrawable->x;
|
||||
yMask += pMask->pDrawable->y;
|
||||
maskRepeat = pMask->repeat == RepeatNormal;
|
||||
maskRepeat = pMask->repeatType == RepeatNormal;
|
||||
|
||||
if (pMask->filter == PictFilterConvolution)
|
||||
maskTransform = TRUE;
|
||||
|
|
|
@ -177,7 +177,7 @@ xglCompositeGeneral (CARD8 op,
|
|||
{
|
||||
if (!pSrc->transform && pSrc->filter != PictFilterConvolution)
|
||||
{
|
||||
if (pSrc->pDrawable && pSrc->repeat == RepeatNormal)
|
||||
if (pSrc->pDrawable && pSrc->repeatType == RepeatNormal)
|
||||
{
|
||||
XGL_PIXMAP_PRIV ((PixmapPtr) pSrc->pDrawable);
|
||||
|
||||
|
|
Loading…
Reference in New Issue