Reintroduce check for GE_LOGIC_COPY

This commit is contained in:
Henrik Rydgård 2018-01-20 16:57:06 +01:00
parent e5b8d91c9f
commit 4c927c1421

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
}