calling glutExit in the erro callback is a really bad example...
[freeglut] / doc / ogl_sm.png
doc/ogl_sm.png