mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Merge pull request #4904 from raven02/patch-22
GLES3: uses GL_MIN/MAX as supported
This commit is contained in:
commit
e16203d7c3
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user