From a98243829628115ea1ccc52353cc41b765da88dc Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 22 Dec 2015 23:51:50 -0800 Subject: [PATCH] thin3d: Use GL_COLOR_LOGIC_OP. --- ext/native/thin3d/thin3d_gl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }