summaryrefslogtreecommitdiffstats
path: root/progs/demos/morph3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/morph3d.c')
-rw-r--r--progs/demos/morph3d.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/demos/morph3d.c b/progs/demos/morph3d.c
index 6aca8270ff5..0f8ac426f33 100644
--- a/progs/demos/morph3d.c
+++ b/progs/demos/morph3d.c
@@ -841,9 +841,8 @@ int main(int argc, char **argv)
object=1;
- glutInit(&argc, argv);
- glutInitWindowPosition(0,0);
glutInitWindowSize(640,480);
+ glutInit(&argc, argv);
glutInitDisplayMode( GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGB );
@@ -887,5 +886,6 @@ int main(int argc, char **argv)
glutIdleFunc( idle_ );
glutDisplayFunc( draw );
glutMainLoop();
-
+
+ return 0;
}