From c21dd615d57481a4b1f9645e84842b68dc4b3cbe Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Fri, 9 Jan 2009 19:32:50 +0200 Subject: [PATCH] Fallback in case of mask transforms as well. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Fixes attachment #21519 test case on bug #15700, but not the initial report. Detective work by Michel Dänzer. Signed-off-by: Mart Raudsepp --- src/lx_exa.c | 6 +++++- 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; -- 1.6.0.4