mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-25 07:56:15 +00:00
pixel alpha mistake
This commit is contained in:
parent
fac1a2b36e
commit
be6c8b08ea
1 changed files with 2 additions and 1 deletions
|
|
@ -262,7 +262,8 @@ 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;
|
||||
output.s.alpha = 0xFF;
|
||||
else
|
||||
output.s.alpha = 0xFF;
|
||||
return output.rgba;
|
||||
}
|
||||
#define clamp(c) max(min(c, 0xFF), 0x00);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue