fixed compilation issue in deprecated LWJGLRenderer

experimental
Nehon 10 years ago
parent 53a40c887e
commit 5e3e8fbd6e
  1. 2
      jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglRenderer.java

@ -1094,7 +1094,7 @@ public class LwjglRenderer {
source.clearUpdateNeeded();
} else {
logger.log(Level.WARNING, "Bad compile of:\n{0}",
new Object[]{ShaderDebug.formatShaderSource(source.getDefines(), source.getSource(), stringBuf.toString())});
new Object[]{ShaderDebug.formatShaderSource(stringBuf.toString() + source.getDefines() + source.getSource())});
if (infoLog != null) {
throw new RendererException("compile error in: " + source + "\n" + infoLog);
} else {

Loading…
Cancel
Save