From 41ca303beeff30cf7f2ee175e760595f2e975848 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 11 May 2014 11:59:31 -0700 Subject: [PATCH] Skip a few more fixa/fixb combos. --- GPU/GLES/FragmentShaderGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/FragmentShaderGenerator.cpp b/GPU/GLES/FragmentShaderGenerator.cpp index 390846bdc..1313baa55 100644 --- a/GPU/GLES/FragmentShaderGenerator.cpp +++ b/GPU/GLES/FragmentShaderGenerator.cpp @@ -314,7 +314,7 @@ bool ShouldUseShaderBlending() { u32 fixA = gstate.getFixA(); u32 fixB = gstate.getFixB(); // OpenGL only supports one constant color, so check if we could be more exact. - if (fixA != fixB && fixA != 0xFFFFFF - fixB) { + if (fixA != fixB && fixA != 0xFFFFFF - fixB && fixA != 0 && fixB != 0 && fixA != 0xFFFFFF && fixB != 0xFFFFFF) { return true; } }