evian
06-16-2005, 09:41 PM
I start OpenGL with glutMainLoop();
How can one exit OpenGL or stop OpenGL within the routine. My code is written in C++.
Reson for my question are unexpected crashes, when I just close the Windows.
Means, I am looking for a save exit out of the program...
How can one exit OpenGL or stop OpenGL within the routine. My code is written in C++.
Reson for my question are unexpected crashes, when I just close the Windows.
Means, I am looking for a save exit out of the program...