dist/claygl.es.js
function checkShaderErrorMsg(_gl, shader, shaderString) {
    if (!_gl.getShaderParameter(shader, _gl.COMPILE_STATUS)) {
        return [_gl.getShaderInfoLog(shader), addLineNumbers(shaderString)].join('\n');
    }
}
function checkShaderErrorMsg(_gl, shader, shaderString) {
    if (!_gl.getShaderParameter(shader, _gl.COMPILE_STATUS)) {
        return [_gl.getShaderInfoLog(shader), addLineNumbers(shaderString)].join('\n');
    }
}
function checkShaderErrorMsg ( _gl , shader , shaderString ) { if ( ! _gl . getShaderParameter ( shader , _gl . COMPILE_STATUS ) ) { return [ _gl . getShaderInfoLog ( shader ) , addLineNumbers ( shaderString ) ] . join ( '\n' ) ; } }
Return true or error msg if error happened
Return true or error msg if error happened