* Reapplied r8158

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8160 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
sha..rd 13 years ago
parent 5a3f191135
commit 2d93b713f3
  1. 2
      engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java

@ -792,7 +792,7 @@ public class LwjglRenderer implements Renderer {
if (loc < 0) {
uniform.setLocation(-1);
// uniform is not declared in shader
logger.log(Level.INFO, "Uniform {0} is not declared in shader.", uniform.getName());
logger.log(Level.INFO, "Uniform {0} is not declared in shader {1}.", new Object[]{uniform.getName(), shader.getSources()});
} else {
uniform.setLocation(loc);
}

Loading…
Cancel
Save