Main repository of MikuMikuStudio
修订版 | e920a7cb633a8fb1866612b9c22c84440d2260f5 (tree) |
---|---|
时间 | 2013-06-19 01:54:19 |
作者 | iwgeric <iwgeric@75d0...> |
Commiter | iwgeric |
Removed logging of unset uniform for Android to match Desktop and avoid flooding the log
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10652 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -678,8 +678,10 @@ public class OGLESShaderRenderer implements Renderer { | ||
678 | 678 | } |
679 | 679 | |
680 | 680 | if (uniform.getVarType() == null) { |
681 | - logger.log(Level.FINEST, "Uniform value is not set yet. Shader: {0}, Uniform: {1}", | |
682 | - new Object[]{shader.toString(), uniform.toString()}); | |
681 | + // removed logging the warning to avoid flooding the log | |
682 | + // (LWJGL also doesn't post a warning) | |
683 | + //logger.log(Level.FINEST, "Uniform value is not set yet. Shader: {0}, Uniform: {1}", | |
684 | + // new Object[]{shader.toString(), uniform.toString()}); | |
683 | 685 | return; // value not set yet.. |
684 | 686 | } |
685 | 687 |