* Changed depth function back to GL_LEQUAL
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7293 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
edd5aaaeb5
commit
4ff31a6fab
@ -471,7 +471,7 @@ public class LwjglRenderer implements Renderer {
|
||||
|
||||
if (state.isDepthTest() && !context.depthTestEnabled) {
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glDepthFunc(GL_LESS);
|
||||
glDepthFunc(GL_LEQUAL);
|
||||
context.depthTestEnabled = true;
|
||||
} else if (!state.isDepthTest() && context.depthTestEnabled) {
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
|
Loading…
x
Reference in New Issue
Block a user