diff options
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r-- | src/mga_exa.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c index c39af50..bfb78e7 100644 --- a/src/mga_exa.c +++ b/src/mga_exa.c @@ -585,15 +585,6 @@ mgaPrepareComposite(int op, PicturePtr pSrcPict, PicturePtr pMaskPict, blendcntl = (blendcntl & ~MGA_SRC_BLEND_MASK) | MGA_SRC_ZERO; } - if (!PICT_FORMAT_A(pSrcPict->format) && mgaBlendOp[op].src_alpha) { - int dblend = blendcntl & MGA_DST_BLEND_MASK; - - if (dblend == MGA_DST_SRC_ALPHA) - blendcntl = (blendcntl & ~MGA_DST_BLEND_MASK) | MGA_DST_ONE; - else if (dblend == MGA_DST_ONE_MINUS_SRC_ALPHA) - blendcntl = (blendcntl & ~MGA_DST_BLEND_MASK) | MGA_DST_ZERO; - } - WAITFIFO(5); OUTREG(MGAREG_FCOL, fcol); OUTREG(MGAREG_TDUALSTAGE0, ds0); |