summaryrefslogtreecommitdiff
path: root/src/sna/sna_composite.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-12-22 11:19:45 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-22 14:11:39 +0000
commitf621b3de841f6037d387ca1439a0abe12ef29811 (patch)
tree1c490ae26e9ec8dc7f4afcf357021aeb2a81ef89 /src/sna/sna_composite.c
parent6c08eb4d6f8789e692ef018e007d1ae97a57c25f (diff)
sna: flatten source alphamaps
Replace the source picture+alpha with a bo that contains the RGB channels from source and A from the alpha map. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_composite.c')
-rw-r--r--src/sna/sna_composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c
index fcc0070a..7adbbfb5 100644
--- a/src/sna/sna_composite.c
+++ b/src/sna/sna_composite.c
@@ -437,7 +437,7 @@ sna_composite(CARD8 op,
goto fallback;
}
- if (dst->alphaMap || src->alphaMap || (mask && mask->alphaMap)) {
+ if (dst->alphaMap) {
DBG(("%s: fallback due to unhandled alpha-map\n", __FUNCTION__));
goto fallback;
}