summaryrefslogtreecommitdiff
path: root/src/mga_exa.c
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-08-09 00:27:34 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2007-08-09 00:27:34 +0200
commit6fb7ae2ce3f75d3d5c44a54a881bda8f08b51d1d (patch)
tree4e891ba8d62bc555348186f07ba9d9ec59f518c8 /src/mga_exa.c
parent5fa65b9924fbff1e88c6ec229e8deeb687cc9a7d (diff)
parent489e007a29de63716ab550eacb3e98a91975d1d5 (diff)
Merge branch 'master' into randr-1.2randr-1.2
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r--src/mga_exa.c9
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);