I have a simple Go program, my first program in OpenGL. It uses OpenGL version 2.1:
I rewrote it for OpenGL version 3.0 and above. It’s much less simple now:
Would someone please take a look if there are still things in there that are not allowed in new versions of OpenGL?
Is glLineWidth() still allowed?
By the way, how do you exactly set the line width? glLineWidth(5) seems to have the same effect as glLineWidth(50).