mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-03 15:42:32 +00:00
Set src/dst alpha to non GL_ZERO in case STENCIL_VALUE_UNIFORM
This commit is contained in:
parent
e7c3c76f6b
commit
60def7baf9
@ -264,8 +264,10 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||
case STENCIL_VALUE_ZERO:
|
||||
glstate.blendFuncSeparate.set(glBlendFuncA, glBlendFuncB, GL_ZERO, GL_ZERO);
|
||||
break;
|
||||
// For now, let's err at zero.
|
||||
case STENCIL_VALUE_UNIFORM:
|
||||
glstate.blendFuncSeparate.set(glBlendFuncA, glBlendFuncB, glBlendFuncA, glBlendFuncB);
|
||||
break;
|
||||
// For now, let's err at zero.
|
||||
case STENCIL_VALUE_UNKNOWN:
|
||||
glstate.blendFuncSeparate.set(glBlendFuncA, glBlendFuncB, GL_ZERO, GL_ZERO);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user