summaryrefslogtreecommitdiff
path: root/exa/exa_render.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-04-29 23:38:13 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-04-29 23:38:13 +0200
commit2866e0bac9b8dd3892c5e68abcfc6c97cebaf88a (patch)
treed3b7935ea499ec2b27855f66d1440eaed0e0c760 /exa/exa_render.c
parent78a20455356ccc310f73cfc65ad65a7677eee7e5 (diff)
Fix a couple of picture repeat fields incorrectly compared to RepeatNormal.
Diffstat (limited to 'exa/exa_render.c')
-rw-r--r--exa/exa_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c
index b78d7282c..d48a1425f 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.c
@@ -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;