From: Keith Whitwell Date: Wed, 28 Jan 2004 10:09:59 +0000 (+0000) Subject: add glutInitWindowPosition calls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eabe7beeaaff94144b22e253211cf7c1b6c87726;p=mesa.git add glutInitWindowPosition calls --- diff --git a/progs/demos/spriteblast.c b/progs/demos/spriteblast.c index c604536ab38..f1eee697242 100644 --- a/progs/demos/spriteblast.c +++ b/progs/demos/spriteblast.c @@ -463,6 +463,7 @@ main(int argc, char **argv) linearFiltering = 0; } } + glutInitWindowPosition(0, 0); glutInitWindowSize(600,300); glutCreateWindow("sprite blast"); glutReshapeFunc(reshape); diff --git a/progs/demos/tessdemo.c b/progs/demos/tessdemo.c index 66fdc6370c8..26403eee0a2 100644 --- a/progs/demos/tessdemo.c +++ b/progs/demos/tessdemo.c @@ -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] );