---
name: "glutMainLoop"
section: "3x"
platform: "linux"
package: "glut-dev"
version: "3.3-2"
release: "Debian 1.3 (Bo)"
platforms: ["linux"]
url: "https://new.carta.tech/glutMainLoop/3x"
---

# glutMainLoop(3x)

enters the GLUT event processing loop.

## NAME

glutMainLoop - enters the GLUT event processing loop.

## SYNTAX

```

```

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.

## SEE ALSO

glutInit

## AUTHOR

Mark J. Kilgard (mjk@sgi.com)
