1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutLeaveMainLoop — Breaks out of OpenGLUT's glutMainLoop()
5

LIBRARY

7     OpenGLUT - mainloop
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutLeaveMainLoop(void);
14

DESCRIPTION

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

TODO

21     Could use longjmp(); see oghTakeActionOnWindowClose(). This would let us
22     terminate the entire loop immediately.
23

SEE ALSO

25     glutMainLoop(3) exit(3)
26
27
28
29
30                                     Epoch
Impressum