summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/picture.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/render/picture.c b/render/picture.c
index c146ce3fd..7ac61fe29 100644
--- a/render/picture.c
+++ b/render/picture.c
@@ -1678,27 +1678,6 @@ ReduceCompositeOp (CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst)
/* TODO, maybe: Conjoint and Disjoint op reductions? */
- /*
- * Deal with simplifications where both source and destination alpha are
- * always 1. Note the (intentional) fallthrough to the later stages.
- */
- if (no_src_alpha && no_dst_alpha)
- {
- switch (op) {
- case PictOpAtop:
- op = PictOpSrc;
- break;
- case PictOpAtopReverse:
- op = PictOpDst;
- break;
- case PictOpXor:
- op = PictOpClear;
- break;
- default:
- break;
- }
- }
-
/* Deal with simplifications where the source alpha is always 1. */
if (no_src_alpha)
{