diff --git a/GPU/GLES/FragmentShaderGenerator.cpp b/GPU/GLES/FragmentShaderGenerator.cpp index 3ace94d4db..8760a0a7e5 100644 --- a/GPU/GLES/FragmentShaderGenerator.cpp +++ b/GPU/GLES/FragmentShaderGenerator.cpp @@ -93,6 +93,8 @@ static bool IsAlphaTestTriviallyTrue() { case GE_COMP_LESS: case GE_COMP_NOTEQUAL: return false; + default: + return false; } } @@ -108,6 +110,8 @@ static bool IsColorTestTriviallyTrue() { case GE_COMP_EQUAL: case GE_COMP_NOTEQUAL: return false; + default: + return false; } }