mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Fix regression with CLUT16 textures. See #12188
This commit is contained in:
1 parent
a8ddde5a27
commit
3d4c4aa5b5
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user