mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +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