mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
SWORD25: Fix transparency effects
svn-id: r53375
This commit is contained in:
parent
3e84d4fe73
commit
7c1b37e150
@ -275,6 +275,10 @@ bool RenderedImage::blit(int posX, int posY, int flipping, Common::Rect *pPartRe
|
||||
int a = in[3];
|
||||
in += inStep;
|
||||
|
||||
if (ca != 255) {
|
||||
a = a * ca >> 8;
|
||||
}
|
||||
|
||||
switch (a) {
|
||||
case 0: // Full transparency
|
||||
out += 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user