summaryrefslogtreecommitdiffstats
path: root/progs/demos/geartrain.c
diff options
context:
space:
mode:
authorXavier Bachelot <[email protected]>2007-07-06 12:56:21 -0600
committerBrian <[email protected]>2007-07-06 12:56:21 -0600
commitf98bdfca574478837b33c97d131dad4833e3ee12 (patch)
treed8fd034951c7954669adbe0fa264c8824bbea9ad /progs/demos/geartrain.c
parentffa2659204121f703208782ff225a22e0c21b173 (diff)
call glutInit(), bug 11486
Diffstat (limited to 'progs/demos/geartrain.c')
-rw-r--r--progs/demos/geartrain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/geartrain.c b/progs/demos/geartrain.c
index 3feb2a0524b..8363f2abc6d 100644
--- a/progs/demos/geartrain.c
+++ b/progs/demos/geartrain.c
@@ -1053,6 +1053,7 @@ main (int argc, char *argv[])
else
file = argv[1];
+ glutInit(&argc, argv);
glutInitWindowPosition (0, 0);
glutInitWindowSize(640,480);
glutInitDisplayMode (GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE );