cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
opengl close event
opengl close event
Mar 10, 2011 at 12:09am UTC
codist
(39)
I have an opengl game. I'm am trying to make this as cross-platform as possible because I want to sell this game. Is there an opengl event will be called when the user clicks the close button?
Mar 10, 2011 at 12:58am UTC
ne555
(10692)
For GLUT
http://www.opengl.org/resources/faq/technical/glut.htm#glot0070
I think exit will call the destructors of only the global variables.
Mar 10, 2011 at 1:18am UTC
codist
(39)
I want to ask the user if he or she wants to exit. I want the user to have a chance to cancel the close.
Topic archived. No new replies allowed.