summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-01-28 10:07:48 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-01-28 10:07:48 +0000
commit469d1b0f221d93a296b1e67f1c97d8e850780c60 (patch)
tree4275a9599e04d8367461d2f03c2180e477e7f8b9
parent27413ed249d5614de3057eda3401a6cc9ca5b324 (diff)
Add glutInitWindowPosition call
-rw-r--r--progs/demos/gloss.c1
-rw-r--r--progs/demos/renormal.c1
-rw-r--r--progs/tests/texline.c3
3 files changed, 4 insertions, 1 deletions
diff --git a/progs/demos/gloss.c b/progs/demos/gloss.c
index 8e3d6ca242..164562377b 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 284dffdb27..4fc19578cd 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 f63a49c7d8..3d59d9ac26 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 );