add glutInitWindowPosition calls

This commit is contained in:
Keith Whitwell
2004-01-28 10:09:59 +00:00
parent 469d1b0f22
commit eabe7beeaa
2 changed files with 2 additions and 0 deletions

View File

@@ -463,6 +463,7 @@ main(int argc, char **argv)
linearFiltering = 0;
}
}
glutInitWindowPosition(0, 0);
glutInitWindowSize(600,300);
glutCreateWindow("sprite blast");
glutReshapeFunc(reshape);

View File

@@ -505,6 +505,7 @@ int main( int argc, char **argv )
glutInit( &argc, argv );
glutInitDisplayMode( GLUT_SINGLE | GLUT_RGB );
glutInitWindowPosition(0, 0);
glutInitWindowSize( 400, 400 );
glutCreateWindow( argv[0] );