From 6113709f3d3b799e5378f8aed67aefa272e1610b Mon Sep 17 00:00:00 2001 From: raven02 Date: Fri, 23 Aug 2013 17:32:10 +0800 Subject: [PATCH] Add glstate.colorLogicOp.disable(); --- GPU/GLES/Framebuffer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GPU/GLES/Framebuffer.cpp b/GPU/GLES/Framebuffer.cpp index 08c325936f..8af1994c49 100644 --- a/GPU/GLES/Framebuffer.cpp +++ b/GPU/GLES/Framebuffer.cpp @@ -146,6 +146,9 @@ void DisableState() { glstate.depthTest.disable(); glstate.scissorTest.disable(); glstate.stencilTest.disable(); +#if !defined(USING_GLES2) + glstate.colorLogicOp.disable(); +#endif } void FramebufferManager::CompileDraw2DProgram() {