From 0de4b415f46e2321c7551bf4b1c15d9a482cbc78 Mon Sep 17 00:00:00 2001 From: raven02 Date: Thu, 29 Aug 2013 01:20:23 +0800 Subject: [PATCH] Use glBlendFuncB for dstAlpha --- 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 6bba537758..5ce63c09d8 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -221,7 +221,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) { // Fixes some Persona 2 issues, may be correct? (that is, don't change dest alpha at all if blending) // If this doesn't break anything else, it's likely to be right. // I guess an alternative solution would be to simply disable alpha writes if alpha blending is enabled. - glstate.blendFuncSeparate.set(glBlendFuncA, glBlendFuncB, GL_ZERO, GL_ONE); + glstate.blendFuncSeparate.set(glBlendFuncA, glBlendFuncB, GL_ZERO, glBlendFuncB); } else { glstate.blendFuncSeparate.set(glBlendFuncA, glBlendFuncB, glBlendFuncA, glBlendFuncB); }