Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
rjpgt committed Apr 19, 2024
1 parent a1ab8f4 commit b0e0a9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _posts/2024-04-19-lines.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ function createProgram() {
console.error(`fs info-log: ${gl.getShaderInfoLog(frag_shader)}`);
throw new Error('Error creating program');
}
gl.deleteShader(vert_shader);
gl.deleteShader(frag_shader);
return prog;
}

Expand Down

0 comments on commit b0e0a9f

Please sign in to comment.