summaryrefslogtreecommitdiff
path: root/src/lx_exa.c
diff options
context:
space:
mode:
authorMart Raudsepp <mart.raudsepp@artecdesign.ee>2009-01-09 19:32:50 +0200
committerMartin-Éric Racine <q-funk@iki.fi>2009-01-17 00:49:32 +0200
commit7c278551c79d7a5898c627341f58fad59b7ae20d (patch)
treec0c0c27c2dc1232bb964db302697874083ef530a /src/lx_exa.c
parent0e65d77a636848b6bc24518d8e45aed506122b49 (diff)
Fallback in case of mask transforms as well.
Fixes attachment #21519 test case on bug #15700, but not the initial report. Detective work by Michel Dänzer. Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Diffstat (limited to 'src/lx_exa.c')
-rw-r--r--src/lx_exa.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lx_exa.c b/src/lx_exa.c
index 5d636ea..f6eeb65 100644
--- a/src/lx_exa.c
+++ b/src/lx_exa.c
@@ -564,7 +564,11 @@ lx_check_composite(int op, PicturePtr pSrc, PicturePtr pMsk, PicturePtr pDst)
return FALSE;
}
- /* Keep an eye out for rotation transforms - those we can
+ /* We don't support any mask transforms */
+ if (pMsk->transform)
+ return FALSE;
+
+ /* Keep an eye out for source rotation transforms - those we can
* do something about */
exaScratch.rotate = RR_Rotate_0;