mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 241939. Try to get 8-bit transparency logic right this time :-) r+sr=blizzard
This commit is contained in:
parent
1ea978b506
commit
7774ed1af5
@ -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];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user