aboutsummaryrefslogtreecommitdiffstats
path: root/progs/demos
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-01-28 10:07:48 +0000
committerKeith Whitwell <[email protected]>2004-01-28 10:07:48 +0000
commit469d1b0f221d93a296b1e67f1c97d8e850780c60 (patch)
tree4275a9599e04d8367461d2f03c2180e477e7f8b9 /progs/demos
parent27413ed249d5614de3057eda3401a6cc9ca5b324 (diff)
Add glutInitWindowPosition call
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/gloss.c1
-rw-r--r--progs/demos/renormal.c1
2 files changed, 2 insertions, 0 deletions
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 );