You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let fragment = `main() {
gl_FragColor = vec4(1.0);
}`;
// load a fragment and vertex shader
let vertex = 'attribute vec4 a_position; main(){ gl_Position = a_position; }';
glslc.load(fragment, vertex);
*** Error compiling shader: ERROR: 0:1: 'main' : syntax error
*** Error compiling shader: ERROR: 0:1: '.' : syntax error
The text was updated successfully, but these errors were encountered: