GLShaderCompilationFailed.java 401 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
package com.projectseptember.RNGL;

public class GLShaderCompilationFailed extends RuntimeException {
    public final String shaderName;
    public final String compileError;

    public GLShaderCompilationFailed(String shaderName, String compileError) {
        super("Shader '"+shaderName+"': "+compileError);
        this.compileError = compileError;
        this.shaderName = shaderName;
    }
}