summaryrefslogtreecommitdiff
path: root/progs/demos/winpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/winpos.c')
-rw-r--r--progs/demos/winpos.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/progs/demos/winpos.c b/progs/demos/winpos.c
index 13a9c7e9a8..f935f9bee0 100644
--- a/progs/demos/winpos.c
+++ b/progs/demos/winpos.c
@@ -96,9 +96,8 @@ static void init( void )
int main( int argc, char *argv[] )
{
- glutInit(&argc, argv);
- glutInitWindowPosition(0, 0);
glutInitWindowSize(500, 500);
+ glutInit(&argc, argv);
glutInitDisplayMode( GLUT_RGB );
if (glutCreateWindow("winpos") <= 0) {