glutMainLoop (3) Linux Manual Page
glutMainLoop – The standard GLUT event loop entry point.
Library
OpenGLUT – mainloop
Synopsis
In openglut.h Ft void Fn glutMainLoop void
Description
This is the main driving force for an event-driven OpenGLUT program. It alternates between calling glutMainLoopEvent() to process pending events and then either sleeping or calling your idle function (see glutIdleFunc()).
This function Bf Li
The cross-reference section for this function’s documentation should ideally contain every callback, but the list would be tediously long and prone to omissions.
Caveats
For OpenGLUT developers’ internal documentation: Runs until the Bf Sy
Bugs
Talking to other message systems (e.g., network layers) can be a bit bothersome under the GLUT event model.
