From 48c7183385ea48d0c2027029808a2be661ce4c14 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Thu, 13 Feb 2014 22:09:44 +0000 Subject: [PATCH] - re-add some depth func stuff from ios renderer (only stable branch) git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/3.0final@11050 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/ios/com/jme3/renderer/ios/IGLESShaderRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/ios/com/jme3/renderer/ios/IGLESShaderRenderer.java b/engine/src/ios/com/jme3/renderer/ios/IGLESShaderRenderer.java index efaabade4..09dc59aa9 100644 --- a/engine/src/ios/com/jme3/renderer/ios/IGLESShaderRenderer.java +++ b/engine/src/ios/com/jme3/renderer/ios/IGLESShaderRenderer.java @@ -163,7 +163,7 @@ public class IGLESShaderRenderer implements Renderer { if (state.isDepthTest() && !context.depthTestEnabled) { JmeIosGLES.glEnable(JmeIosGLES.GL_DEPTH_TEST); - JmeIosGLES.glDepthFunc(convertTestFunction(JmeIosGLES.GL_LEQUAL)); + JmeIosGLES.glDepthFunc(JmeIosGLES.GL_LEQUAL); JmeIosGLES.checkGLError(); context.depthTestEnabled = true; } else if (!state.isDepthTest() && context.depthTestEnabled) {