1UNTITLED LOCAL UNTITLED
2
4 glutLeaveMainLoop — Breaks out of OpenGLUT's glutMainLoop()
5
7 OpenGLUT - mainloop
8
10 #include <openglut.h>
11
12 void
13 glutLeaveMainLoop(void);
14
16 This function allows you to unilaterally tell OpenGLUT that you are done
17 and wish to exit. This is useful if you have also told OpenGLUT to
18 return to you rather than to call exit() directly.
19
21 Could use longjmp(); see oghTakeActionOnWindowClose(). This would let us
22 terminate the entire loop immediately.
23
25 glutMainLoop(3) exit(3)
26
27
28
29
30 Epoch