From ecf43c7ea96b0058e98bb8f902d956638100d648 Mon Sep 17 00:00:00 2001 From: raven02 Date: Tue, 6 Aug 2013 16:46:35 +0800 Subject: [PATCH] Fix lookup table --- GPU/GLES/StateMapping.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/GPU/GLES/StateMapping.cpp b/GPU/GLES/StateMapping.cpp index 4d0f329898..97ff84290f 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -94,21 +94,21 @@ static const GLushort stencilOps[] = { static const GLushort logicOps[] = { GL_CLEAR, - GL_SET, - GL_COPY, - GL_COPY_INVERTED, - GL_NOOP, - GL_INVERT, GL_AND, - GL_NAND, + GL_AND_REVERSE, + GL_COPY, + GL_AND_INVERTED, + GL_NOOP, + GL_XOR, GL_OR, GL_NOR, - GL_XOR, GL_EQUIV, - GL_AND_REVERSE, - GL_AND_INVERTED, + GL_INVERT, GL_OR_REVERSE, + GL_COPY_INVERTED, GL_OR_INVERTED, + GL_NAND, + GL_SET, }; static GLenum blendColor2Func(u32 fix) {