summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-02-13 18:55:44 +0000
committerAdam Jackson <ajax@nwnk.net>2006-02-13 18:55:44 +0000
commit83dd6241c8cd81e8d897bd17588ada92a945e647 (patch)
treef4a22f448fa3caebd1f0bea76b7da828c4b3e96d /render
parent4a7f6f53cad541e8c5042a6472e3b3886fc9b7e6 (diff)
Reverted, did nothing anyway, I'm not smart today.
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)
{