Bug 241939. Try to get 8-bit transparency logic right this time :-) r+sr=blizzard

This commit is contained in:
roc+%cs.cmu.edu 2004-06-01 23:27:28 +00:00
parent 1ea978b506
commit 7774ed1af5

View File

@ -426,7 +426,7 @@ static void Do8Blend(float aOpacity, PRInt32 aNumLines, PRInt32 aNumBytes,
} else {
for (y = 0; y < aNumLines; y++) {
for (int i = 0; i < aNumBytes; i++) {
if (aSImage[i] != aS2Image[i]) {
if (aSImage[i] == aS2Image[i]) {
aDImage[i] = aSImage[i];
}
}