mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 00:29:57 +00:00
Add depthTest along with stencilTest since depth Fail/ZPass test used .
This commit is contained in:
parent
728e1a559a
commit
6624bb8100
@ -297,7 +297,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
|
||||
glstate.colorMask.set(rmask, gmask, bmask, amask);
|
||||
|
||||
// Stencil Test
|
||||
if (gstate.isStencilTestEnabled()) {
|
||||
if (gstate.isStencilTestEnabled() && gstate.isDepthTestEnabled()) {
|
||||
glstate.stencilTest.enable();
|
||||
glstate.stencilFunc.set(ztests[gstate.getStencilTestFunction()],
|
||||
gstate.getStencilTestRef(),
|
||||
|
Loading…
Reference in New Issue
Block a user