OpenGL: Lessons learned

Here's a short summary of things I have learned in the last months of OpenGL programming - sometimes the hard way (read: while destroying awful amounts of Club Mate and coffee). Some of these are rather subtle pitfalls and do not get mentioned in tutorials or books too often. Textures…