diff options
author | Xavier Bachelot <[email protected]> | 2007-07-06 12:54:40 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-06 12:54:40 -0600 |
commit | 08d7307b2a194b392d37d0254d6903512a699daa (patch) | |
tree | a14a7a8c44c50ffea3323f0c60aaf9226647ac91 /progs/demos/geartrain.c | |
parent | ef6a64abe6c94f5da7600e8b5fa2170186e26153 (diff) |
call glutInit(), bug 11486
Diffstat (limited to 'progs/demos/geartrain.c')
-rw-r--r-- | progs/demos/geartrain.c | 1 |
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 ); |