Hi,
Typically when using glut, one will create a window, set callbacks, and then call glutMainLoop(). (As far as I understand the specs.)
But how am I supposed to perform initialization (shader, ...) without global/static variables?
I just don't get the system behind this, hope you can help me here.



