commit | e4298b94927f12c4710443ede1b50a325103ac72 | [log] [tgz] |
---|---|---|
author | Ian Romanick <idr@us.ibm.com> | Tue Oct 24 20:50:08 2006 +0000 |
committer | Ian Romanick <idr@us.ibm.com> | Tue Oct 24 20:50:08 2006 +0000 |
tree | 1863f7ae78c3b74d3c05cff859c1689cc8da4055 | |
parent | 6340d6bf22ad0bfedf8565500336237a8da887f5 [diff] |
Add missing call to glutInit.
diff --git a/progs/demos/cubemap.c b/progs/demos/cubemap.c index 0a59b98..ef5d235 100644 --- a/progs/demos/cubemap.c +++ b/progs/demos/cubemap.c
@@ -454,6 +454,7 @@ int main( int argc, char *argv[] ) { + glutInit(&argc, argv); glutInitWindowPosition(0, 0); glutInitWindowSize(600, 500); glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE );