mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Zeroize destination alpha as well when stencil test disabled.
This commit is contained in:
parent
2d084ec747
commit
ecdc82fb19
1 changed files with 1 additions and 1 deletions
|
@ -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, glBlendFuncB);
|
||||
glstate.blendFuncSeparate.set(glBlendFuncA, glBlendFuncB, GL_ZERO, GL_ZERO);
|
||||
} else {
|
||||
glstate.blendFuncSeparate.set(glBlendFuncA, glBlendFuncB, glBlendFuncA, glBlendFuncB);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue