Reverted, did nothing anyway, I'm not smart today.

This commit is contained in:
Adam Jackson 2006-02-13 18:55:44 +00:00
parent 4a7f6f53ca
commit 83dd6241c8

View File

@ -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)
{