diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index 6d6d2a8be1..9ec6da3261 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -680,6 +680,7 @@ static const u8 bitsPerPixel[11] = { 8, //GE_TFMT_DXT5=8, }; +// This is the same as (fmt & 4) != 0, heh. static const bool formatUsesClut[11] = { false, false, diff --git a/GPU/GLES/TransformPipeline.cpp b/GPU/GLES/TransformPipeline.cpp index 9e264e1ca8..aa2a054219 100644 --- a/GPU/GLES/TransformPipeline.cpp +++ b/GPU/GLES/TransformPipeline.cpp @@ -680,7 +680,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw( for (int i = 0; i < 4; i++) { transformed[index].color0[i] = c0[i] * 255.0f; } - for (int i = 0; i < 4; i++) { + for (int i = 0; i < 3; i++) { transformed[index].color1[i] = c1[i] * 255.0f; } }