• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

修订版e920a7cb633a8fb1866612b9c22c84440d2260f5 (tree)
时间2013-06-19 01:54:19
作者iwgeric <iwgeric@75d0...>
Commiteriwgeric

Log Message

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

更改概述

差异

--- 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 {
678678 }
679679
680680 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()});
683685 return; // value not set yet..
684686 }
685687