WebGL-Inspector
WebGL-Inspector copied to clipboard
Uncaught TypeError: Failed to execute 'getProgramParameter' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.
Recently I'm getting this error when trying to inspect a webgl app:
Uncaught TypeError: Failed to execute 'getProgramParameter' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.
at StateSnapshot.apply (
In this case "program" is null: if (!gl.getProgramParameter(program, gl.LINK_STATUS)) { gl.linkProgram(program); }
Interestingly I only see this for some of my projects (I can provide source or link)
probably a duplicate of #159? Have you tried removing all calls to gl.getExtension
?