diff options
author | Ian Romanick <idr@us.ibm.com> | 2006-10-24 20:50:08 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2006-10-24 20:50:08 +0000 |
commit | e4298b94927f12c4710443ede1b50a325103ac72 (patch) | |
tree | 1863f7ae78c3b74d3c05cff859c1689cc8da4055 | |
parent | 6340d6bf22ad0bfedf8565500336237a8da887f5 (diff) |
Add missing call to glutInit.
-rw-r--r-- | progs/demos/cubemap.c | 1 |
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 ); |