summaryrefslogtreecommitdiffstats
path: root/progs/demos/winpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/winpos.c')
-rw-r--r--progs/demos/winpos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/winpos.c b/progs/demos/winpos.c
index 3a1a19ecdb9..b58e3308643 100644
--- a/progs/demos/winpos.c
+++ b/progs/demos/winpos.c
@@ -100,6 +100,7 @@ static void init( void )
int main( int argc, char *argv[] )
{
+ glutInit(&argc, argv);
glutInitWindowPosition(0, 0);
glutInitWindowSize(500, 500);
glutInitDisplayMode( GLUT_RGB );