summaryrefslogtreecommitdiff
path: root/progs/demos/cubemap.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-10-24 20:50:08 +0000
committerIan Romanick <idr@us.ibm.com>2006-10-24 20:50:08 +0000
commite4298b94927f12c4710443ede1b50a325103ac72 (patch)
tree1863f7ae78c3b74d3c05cff859c1689cc8da4055 /progs/demos/cubemap.c
parent6340d6bf22ad0bfedf8565500336237a8da887f5 (diff)
Add missing call to glutInit.
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 );