pixel alpha mistake

This commit is contained in:
Jaime Passos 2019-09-23 18:27:43 -03:00
parent 9c7b3f1d80
commit 61aa84d15a
1 changed files with 2 additions and 1 deletions

View File

@ -262,6 +262,7 @@ UINT32 ASTBlendPixel(RGBA_t background, RGBA_t foreground, int style, UINT8 alph
// if there's no pixel in here
if (!background.rgba)
output.s.alpha = foreground.s.alpha;
else
output.s.alpha = 0xFF;
return output.rgba;
}