Merge pull request #4904 from raven02/patch-22

GLES3: uses GL_MIN/MAX as supported
This commit is contained in:
Henrik Rydgård 2013-12-22 02:13:40 -08:00
commit e16203d7c3

View File

@ -327,7 +327,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
} }
#endif #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]); glstate.blendEquation.set(eqLookup[blendFuncEq]);
} else { } else {
glstate.blendEquation.set(eqLookupNoMinMax[blendFuncEq]); glstate.blendEquation.set(eqLookupNoMinMax[blendFuncEq]);