Fix regression with CLUT16 textures. See #12188

This commit is contained in:
Henrik Rydgård committed 2022-04-24 00:43:15 +02:00
1 parent a8ddde5a27
commit 3d4c4aa5b5
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}