Change depth function to <=.

This commit is contained in:
Paul Chote
2015-10-01 18:55:54 +01:00
parent 0538f0c66e
commit ecebb2a844
2 changed files with 7 additions and 0 deletions

View File

@@ -224,6 +224,8 @@ namespace OpenRA.Platforms.Default
OpenGL.CheckGLError();
OpenGL.glEnable(OpenGL.GL_DEPTH_TEST);
OpenGL.CheckGLError();
OpenGL.glDepthFunc(OpenGL.GL_LEQUAL);
OpenGL.CheckGLError();
}
public void DisableDepthBuffer()