From ce3b8e843e303e8257a14945ef150cf757defc15 Mon Sep 17 00:00:00 2001 From: "iwg..ic" Date: Tue, 18 Jun 2013 16:54:19 +0000 Subject: [PATCH] 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 --- .../com/jme3/renderer/android/OGLESShaderRenderer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/src/android/com/jme3/renderer/android/OGLESShaderRenderer.java b/engine/src/android/com/jme3/renderer/android/OGLESShaderRenderer.java index f098404bb..ed1c7dd98 100644 --- a/engine/src/android/com/jme3/renderer/android/OGLESShaderRenderer.java +++ b/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.. }