From 4ff31a6fab2908acdc6b137604bf8a0734231761 Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Sat, 23 Apr 2011 04:07:43 +0000 Subject: [PATCH] * Changed depth function back to GL_LEQUAL git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7293 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java b/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java index 43eef1e38..7553005a3 100644 --- a/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java +++ b/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java @@ -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);