summaryrefslogtreecommitdiffstats
path: root/progs/demos/texenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/texenv.c')
-rw-r--r--progs/demos/texenv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/progs/demos/texenv.c b/progs/demos/texenv.c
index c5a8b13f35f..260ca8718f0 100644
--- a/progs/demos/texenv.c
+++ b/progs/demos/texenv.c
@@ -765,6 +765,7 @@ int main( int argc, char *argv[] )
GLboolean info = GL_FALSE;
int i;
+ glutInitWindowSize( winWidth, winHeight );
glutInit( &argc, argv );
for ( i = 1 ; i < argc ; i++ ) {
@@ -786,8 +787,6 @@ int main( int argc, char *argv[] )
glutInitDisplayMode( GLUT_RGB | GLUT_SINGLE );
}
- glutInitWindowSize( winWidth, winHeight );
- glutInitWindowPosition( 0, 0 );
Win = glutCreateWindow( "Texture Environment Test" );
initialize();