GRAPHICS: Fix Managed Surface alpha blending
This commit is contained in:
parent
b4db168f2a
commit
14f8e0574f
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ void transBlit(const Surface &src, const Common::Rect &srcRect, Surface &dest, c
|
|||
destLine[xCtr] = overrideColor ? overrideColor : srcVal;
|
||||
} else {
|
||||
// Otherwise we have to manually decode and re-encode each pixel
|
||||
srcFormat.colorToARGB(*srcLine, aSrc, rSrc, gSrc, bSrc);
|
||||
srcFormat.colorToARGB(srcVal, aSrc, rSrc, gSrc, bSrc);
|
||||
destFormat.colorToRGB(destLine[xCtr], rDest, gDest, bDest);
|
||||
|
||||
if (aSrc == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue