mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Force depth test when depthSource == G_ZS_PRIM.
This commit is contained in:
parent
23348b474d
commit
642038a6fe
|
@ -527,7 +527,7 @@ void OGLRender::_updateStates() const
|
|||
glDisable( GL_DEPTH_TEST );
|
||||
glDepthMask( FALSE );
|
||||
} else {
|
||||
if (gSP.geometryMode & G_ZBUFFER)
|
||||
if ((gSP.geometryMode & G_ZBUFFER) || gDP.otherMode.depthSource == G_ZS_PRIM)
|
||||
glEnable( GL_DEPTH_TEST );
|
||||
else
|
||||
glDisable( GL_DEPTH_TEST );
|
||||
|
|
Loading…
Reference in New Issue
Block a user