diff --git a/ext/native/thin3d/thin3d_gl.cpp b/ext/native/thin3d/thin3d_gl.cpp index 5d622c6596..318c357845 100644 --- a/ext/native/thin3d/thin3d_gl.cpp +++ b/ext/native/thin3d/thin3d_gl.cpp @@ -105,10 +105,10 @@ public: #if !defined(USING_GLES2) if (logicEnabled) { - glEnable(GL_LOGIC_OP); + glEnable(GL_COLOR_LOGIC_OP); glLogicOp(logicOp); } else { - glDisable(GL_LOGIC_OP); + glDisable(GL_COLOR_LOGIC_OP); } #endif }