Next: 4 Window Management Up: 3 Beginning Event Processing Previous: 3 Beginning Event Processing

## 3.1 glutMainLoop

`glutMainLoop` enters the GLUT event processing loop.

Usage

    void glutMainLoop(void);

Description

`glutMainLoop` enters the GLUT event processing loop. This routine should be called at most once in a GLUT program. Once called, this routine will never return. It will call as necessary any callbacks that have been registered.

Next: 4 Window Management Up: 3 Beginning Event Processing Previous: 3 Beginning Event Processing