- re-add some depth func stuff from ios renderer (only stable branch)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/3.0final@11049 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 11 years ago
parent c8e6878b64
commit f881fa7851
  1. 2
      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(context.depthFunc));
JmeIosGLES.glDepthFunc(convertTestFunction(JmeIosGLES.GL_LEQUAL));
JmeIosGLES.checkGLError();
context.depthTestEnabled = true;
} else if (!state.isDepthTest() && context.depthTestEnabled) {

Loading…
Cancel
Save