From: Keith Whitwell Date: Wed, 28 Jan 2004 10:07:48 +0000 (+0000) Subject: Add glutInitWindowPosition call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=469d1b0f221d93a296b1e67f1c97d8e850780c60;p=mesa.git Add glutInitWindowPosition call --- diff --git a/progs/demos/gloss.c b/progs/demos/gloss.c index 8e3d6ca2426..164562377b2 100644 --- a/progs/demos/gloss.c +++ b/progs/demos/gloss.c @@ -355,6 +355,7 @@ static void Init( int argc, char *argv[] ) int main( int argc, char *argv[] ) { glutInit( &argc, argv ); + glutInitWindowPosition(0, 0); glutInitWindowSize( 500, 500 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH ); diff --git a/progs/demos/renormal.c b/progs/demos/renormal.c index 284dffdb274..4fc19578cde 100644 --- a/progs/demos/renormal.c +++ b/progs/demos/renormal.c @@ -107,6 +107,7 @@ key(unsigned char k, int x, int y) int main( int argc, char *argv[] ) { glutInit( &argc, argv ); + glutInitWindowPosition(0, 0); glutInitWindowSize( 400, 400 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); diff --git a/progs/tests/texline.c b/progs/tests/texline.c index f63a49c7d89..3d59d9ac264 100644 --- a/progs/tests/texline.c +++ b/progs/tests/texline.c @@ -1,4 +1,4 @@ -/* $Id: texline.c,v 1.4 2002/08/17 00:30:36 brianp Exp $ */ +/* $Id: texline.c,v 1.5 2004/01/28 10:07:48 keithw Exp $ */ /* * Test textured lines. @@ -248,6 +248,7 @@ static void Init( int argc, char *argv[] ) int main( int argc, char *argv[] ) { glutInit( &argc, argv ); + glutInitWindowPosition(0, 0); glutInitWindowSize( 400, 300 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );