Add missing call to glutInit.
authorIan Romanick <idr@us.ibm.com>
Tue, 24 Oct 2006 20:50:08 +0000 (20:50 +0000)
committerIan Romanick <idr@us.ibm.com>
Tue, 24 Oct 2006 20:50:08 +0000 (20:50 +0000)
progs/demos/cubemap.c

index 0a59b9898356ce35c85b451f91bc7c36f5afe13f..ef5d23555096b6b00add0c23015e1fc63f38ca87 100644 (file)
@@ -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 );