aboutsummaryrefslogtreecommitdiffstats
path: root/progs/demos/winpos.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/winpos.c
parentffa2659204121f703208782ff225a22e0c21b173 (diff)
call glutInit(), bug 11486
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 );