|
|
|
@ -1504,9 +1504,9 @@ public class IGLESShaderRenderer implements Renderer { |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
if (infoLog != null) { |
|
|
|
|
throw new RendererException("Shader link failure, shader:" + shader + " info:" + infoLog); |
|
|
|
|
throw new RendererException("Shader link failure, shader:" + shader + "\n" + infoLog); |
|
|
|
|
} else { |
|
|
|
|
throw new RendererException("Shader link failure, shader:" + shader + " info: <not provided>"); |
|
|
|
|
throw new RendererException("Shader link failure, shader:" + shader + "\ninfo: <not provided>"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -2529,9 +2529,9 @@ public class IGLESShaderRenderer implements Renderer { |
|
|
|
|
logger.log(Level.WARNING, "Bad compile of:\n{0}", |
|
|
|
|
new Object[]{ShaderDebug.formatShaderSource(source.getDefines(), source.getSource(),stringBuf.toString())}); |
|
|
|
|
if (infoLog != null) { |
|
|
|
|
throw new RendererException("compile error in:" + source + " error:" + infoLog); |
|
|
|
|
throw new RendererException("compile error in: " + source + "\n" + infoLog); |
|
|
|
|
} else { |
|
|
|
|
throw new RendererException("compile error in:" + source + " error: <not provided>"); |
|
|
|
|
throw new RendererException("compile error in: " + source + "\nerror: <not provided>"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|