mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Fix regression with CLUT16 textures. See #12188
This commit is contained in:
parent
a8ddde5a27
commit
3d4c4aa5b5
@ -134,7 +134,7 @@ inline void DeIndexTexture(/*WRITEONLY*/ ClutT *dest, const IndexT *indexed, int
|
||||
}
|
||||
} else {
|
||||
for (int i = 0; i < length; ++i) {
|
||||
ClutT color = (*indexed++) & 0xFF;
|
||||
ClutT color = clut[(*indexed++) & 0xFF];
|
||||
alphaSum &= color;
|
||||
*dest++ = color;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user