mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Better check for blendmode
This commit is contained in:
parent
e65d0b4791
commit
f48e0af235
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ((blendFuncEq == GE_BLENDMODE_MIN || blendFuncEq == GE_BLENDMODE_MAX) && gl_extensions.EXT_blend_minmax) {
|
if (blendFuncEq >= GE_BLENDMODE_MIN && gl_extensions.EXT_blend_minmax) {
|
||||||
glstate.blendEquation.set(eqLookup[blendFuncEq]);
|
glstate.blendEquation.set(eqLookup[blendFuncEq]);
|
||||||
} else {
|
} else {
|
||||||
glstate.blendEquation.set(eqLookupNoMinMax[blendFuncEq]);
|
glstate.blendEquation.set(eqLookupNoMinMax[blendFuncEq]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue