From 83dd6241c8cd81e8d897bd17588ada92a945e647 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 13 Feb 2006 18:55:44 +0000 Subject: [PATCH] Reverted, did nothing anyway, I'm not smart today. --- render/picture.c | 21 --------------------- 1 file changed, 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) {