summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2008-05-20 11:42:53 -0400
committerAlex Deucher <alex@botch2.com>2008-05-20 11:42:53 -0400
commita4f3d0088ba763ed8eab1d331959b5ecde8262e8 (patch)
treed96bbebbd234ec910b7918f1cbe582ac1665287b
parent130e55738047f2a073bcc47e3e1400f7b694a81b (diff)
R3/4/5xx: fixup logic from last commit
Spotted by otaylor and MrCooper
-rw-r--r--src/radeon_exa_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c
index 04c3719e..2319e3bb 100644
--- a/src/radeon_exa_render.c
+++ b/src/radeon_exa_render.c
@@ -985,7 +985,7 @@ static Bool R300CheckCompositeTexture(PicturePtr pPict,
* clipping.
*/
if (pPict->transform != 0 && !pPict->repeat && PICT_FORMAT_A(pPict->format) == 0) {
- if (((op != PictOpSrc) || (op != PictOpClear)) && (PICT_FORMAT_A(pDstPict->format) != 0))
+ if (!(((op == PictOpSrc) || (op == PictOpClear)) && (PICT_FORMAT_A(pDstPict->format) == 0)))
RADEON_FALLBACK(("REPEAT_NONE unsupported for transformed xRGB source\n"));
}