Reintroduce check for GE_LOGIC_COPY

This commit is contained in:
Henrik Rydgård committed 2018-01-27 15:10:17 +01:00
1 parent e5b8d91c9f
commit 4c927c1421
1 file changed
+2 -1
+2 -1
View File
@@ -229,7 +229,8 @@ void DrawEngineGLES::ApplyDrawState(int prim) {
#ifndef USING_GLES2
if (gstate_c.Supports(GPU_SUPPORTS_LOGIC_OP)) {
renderManager->SetLogicOp(gstate.isLogicOpEnabled(), logicOps[gstate.getLogicOp()]);
renderManager->SetLogicOp(gstate.isLogicOpEnabled() && gstate.getLogicOp() != GE_LOGIC_COPY,
logicOps[gstate.getLogicOp()]);
}
#endif
}