Removed logging of unset uniform for Android to match Desktop and avoid flooding the log

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10652 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
iwg..ic 12 years ago
parent 5622ce2483
commit ce3b8e843e
  1. 6
      engine/src/android/com/jme3/renderer/android/OGLESShaderRenderer.java

@ -678,8 +678,10 @@ public class OGLESShaderRenderer implements Renderer {
}
if (uniform.getVarType() == null) {
logger.log(Level.FINEST, "Uniform value is not set yet. Shader: {0}, Uniform: {1}",
new Object[]{shader.toString(), uniform.toString()});
// removed logging the warning to avoid flooding the log
// (LWJGL also doesn't post a warning)
//logger.log(Level.FINEST, "Uniform value is not set yet. Shader: {0}, Uniform: {1}",
// new Object[]{shader.toString(), uniform.toString()});
return; // value not set yet..
}

Loading…
Cancel
Save