I\'m really having trouble closing my console application with FreeGLUT.
I would like to know what the best way is to take every possible closing, because I don\'t w
I use glutDestroyWindow(int handle);
glutDestroyWindow(int handle);
or
According to ID: RigidBody at OpenGL forum
void destroy_window() { window_valid = -1; } void display_func() { if(window_valid == -1) return; // draw things }