paroj / gltut

Learning Modern 3D Graphics Programming
https://paroj.github.io/gltut/
MIT License
1.57k stars 377 forks source link

No DetachShader in Tutorial 1 #36

Closed paroj closed 8 years ago

paroj commented 12 years ago

Originally reported by: Trevor Fancher (Bitbucket: trevorfancher, GitHub: trevorfancher)


The code in tut1.cpp is correctly using glDetachShader, but you forget to use and discuss the reasoning for glDetachShader in Example 1.8 on http://arcsynthesis.org/gltut/Basics/Tut01%20Making%20Shaders.html


paroj commented 12 years ago

Original comment by Jason McKesson (Bitbucket: alfonse, GitHub: alfonse):


Thank you for the bug report. I have corrected this in changelist [[https://bitbucket.org/alfonse/gltut/changeset/1756ad0749f8|1756ad0749f8]]. Hopefully, the website will be updated (along with Tutorial 17!) by next Monday.