From ad720b31e09b0404849d786b0a8d3a7af767fe4a Mon Sep 17 00:00:00 2001 From: raven02 Date: Sat, 21 Dec 2013 16:17:40 +0800 Subject: [PATCH] emnu fix#1 --- GPU/GLES/StateMapping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/StateMapping.cpp b/GPU/GLES/StateMapping.cpp index c53aa60104..a00a949da5 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -277,7 +277,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) { // Some Android devices (especially Mali, it seems) composite badly if there's alpha in the backbuffer. // So in non-buffered rendering, we will simply consider the dest alpha to be zero in blending equations. #ifdef ANDROID - if (g_Config.iRenderingMode == 0) { + if (g_Config.iRenderingMode == FB_NON_BUFFERED_MODE) { if (glBlendFuncA == GL_DST_ALPHA) glBlendFuncA = GL_ZERO; if (glBlendFuncB == GL_DST_ALPHA) glBlendFuncB = GL_ZERO; if (glBlendFuncA == GL_ONE_MINUS_DST_ALPHA) glBlendFuncA = GL_ONE;