Merge pull request #3460 from raven02/patch-27

Use glBlendFuncB for dstAlpha
This commit is contained in:
Henrik Rydgård committed 2013-08-31 08:04:18 -07:00
commit 7e96e2cee3
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}