Skip to content

Commit

Permalink
Update webgl-render-pipeline.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Apr 4, 2024
1 parent 0d1f1d9 commit a66f7dd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -319,7 +319,7 @@ export class WEBGLRenderPipeline extends RenderPipeline {
throw new Error(`Error during compilation of shader ${this.vs.id}`);
}
if (this.fs?.compilationStatus === 'error') {
this.vs.debugShader();
this.fs.debugShader();
throw new Error(`Error during compilation of shader ${this.fs.id}`);
}
throw new Error(`Error during ${status}: ${this.device.gl.getProgramInfoLog(this.handle)}`);
Expand Down

0 comments on commit a66f7dd

Please sign in to comment.