From 8a9ba716a09670d95a7090258fb55cc38a808cda Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 22 Dec 2013 15:20:04 +0800 Subject: [PATCH] GLES3: uses GL_MIN/MAX as supported --- GPU/GLES/StateMapping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/StateMapping.cpp b/GPU/GLES/StateMapping.cpp index a00a949da5..5c1b351b4b 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -327,7 +327,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) { } #endif - if ((blendFuncEq >= GE_BLENDMODE_MIN) && gl_extensions.EXT_blend_minmax) { + if (((blendFuncEq >= GE_BLENDMODE_MIN) && gl_extensions.EXT_blend_minmax) || gl_extensions.GLES3) { glstate.blendEquation.set(eqLookup[blendFuncEq]); } else { glstate.blendEquation.set(eqLookupNoMinMax[blendFuncEq]);