From: Keith Whitwell Date: Wed, 28 Jan 2004 10:07:48 +0000 (+0000) Subject: Add glutInitWindowPosition call X-Git-Tag: 062012170305~25010 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=469d1b0f221d93a296b1e67f1c97d8e850780c60;p=profile%2Fivi%2Fmesa.git Add glutInitWindowPosition call --- diff --git a/progs/demos/gloss.c b/progs/demos/gloss.c index 8e3d6ca..1645623 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 284dffd..4fc1957 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 f63a49c..3d59d9a 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 );