summaryrefslogtreecommitdiff
path: root/progs/demos/gearbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/gearbox.c')
-rw-r--r--progs/demos/gearbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/demos/gearbox.c b/progs/demos/gearbox.c
index 2dcf32f92f..71d0281904 100644
--- a/progs/demos/gearbox.c
+++ b/progs/demos/gearbox.c
@@ -474,10 +474,10 @@ visible(int vis)
int
main(int argc, char *argv[])
{
+ glutInitWindowSize(WinWidth, WinHeight);
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE);
- glutInitWindowSize(WinWidth, WinHeight);
Win = glutCreateWindow("gearbox");
init(argc, argv);