NamorvTech icon indicating copy to clipboard operation
NamorvTech copied to clipboard

Incorrect error handling in shader compilation/linking

Open ker2x opened this issue 3 years ago • 0 comments

While following your tutorial I ran into some issue and found out that the way you handle error is (apparently) not strictly correct. It seems that the best practice to check for error is the one in my change request.

I got this from https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/linkProgram and it works for me

ker2x avatar Apr 10 '21 13:04 ker2x