mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
[PICA Fix I8 texture format
This commit is contained in:
parent
93ba95483b
commit
060717bea6
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ u32 Texture::decodeTexel(u32 u, u32 v, Texture::Formats fmt, const void* data) {
|
|||
const u8 intensity = ptr[offset];
|
||||
|
||||
// Intensity formats just copy the intensity value to every colour channel
|
||||
return (intensity << 24) | (intensity << 16) | (intensity << 8) | intensity;
|
||||
return (0xff << 24) | (intensity << 16) | (intensity << 8) | intensity;
|
||||
}
|
||||
|
||||
case Formats::IA8: {
|
||||
|
|
Loading…
Add table
Reference in a new issue