summaryrefslogtreecommitdiff
path: root/progs/demos/cubemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/cubemap.c')
-rw-r--r--progs/demos/cubemap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/cubemap.c b/progs/demos/cubemap.c
index 0a59b98983..ef5d235550 100644
--- a/progs/demos/cubemap.c
+++ b/progs/demos/cubemap.c
@@ -454,6 +454,7 @@ static void usage(void)
int main( int argc, char *argv[] )
{
+ glutInit(&argc, argv);
glutInitWindowPosition(0, 0);
glutInitWindowSize(600, 500);
glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE );