mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
softgpu: Assign texture alpha value to 255 when no alpha channel is present.
This commit is contained in:
parent
88348a3d73
commit
2336f4cd8c
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ u32 DecodeRGB565(u16 src)
|
|||
u8 r = src & 0x1F;
|
||||
u8 g = (src >> 5) & 0x3F;
|
||||
u8 b = (src >> 11) & 0x1F;
|
||||
u8 a = 0xff; // TODO: Might want to use 0xFF here instead?
|
||||
u8 a = 0xFF;
|
||||
r = (r << 3) | (r >> 2);
|
||||
g = (g << 2) | (g >> 4);
|
||||
b = (b << 3) | (b >> 2);
|
||||
|
|
Loading…
Add table
Reference in a new issue