mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-22 05:35:54 +00:00
GLES: Disable logic op while alpha blend is enabled. Having them both enabled at the same time makes no sense, and this seems like the safest possible fix for #3220 as logic op usage is rare.
This commit is contained in:
parent
e6ad305545
commit
f4c05392e2
@ -259,7 +259,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||
|
||||
#if !defined(USING_GLES2)
|
||||
// Logic Ops
|
||||
if (gstate.isLogicOpEnabled()) {
|
||||
if (gstate.isLogicOpEnabled() && !gstate.isAlphaBlendEnabled()) {
|
||||
glstate.colorLogicOp.enable();
|
||||
glstate.logicOp.set(logicOps[gstate.getLogicOp()]);
|
||||
} else
|
||||
|
Loading…
x
Reference in New Issue
Block a user