diff options
author | Brian Paul <[email protected]> | 2001-03-27 17:35:26 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-03-27 17:35:26 +0000 |
commit | 8afa9e593b603583a61a147009d14dfaaa68e617 (patch) | |
tree | 88af98aec46cf2c23378c8e00593af70db1468b5 /progs/demos | |
parent | 0a355dc01078ffd52873fa220feaf207dad10d9b (diff) |
set initial window pos
Diffstat (limited to 'progs/demos')
-rw-r--r-- | progs/demos/texcyl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/progs/demos/texcyl.c b/progs/demos/texcyl.c index 30aded2b3ed..c01ef767534 100644 --- a/progs/demos/texcyl.c +++ b/progs/demos/texcyl.c @@ -1,4 +1,4 @@ -/* $Id: texcyl.c,v 1.4 2000/12/24 22:53:54 pesco Exp $ */ +/* $Id: texcyl.c,v 1.5 2001/03/27 17:35:26 brianp Exp $ */ /* * Textured cylinder demo: lighting, texturing, reflection mapping. @@ -12,6 +12,9 @@ /* * $Log: texcyl.c,v $ + * Revision 1.5 2001/03/27 17:35:26 brianp + * set initial window pos + * * Revision 1.4 2000/12/24 22:53:54 pesco * * demos/Makefile.am (INCLUDES): Added -I$(top_srcdir)/util. * * demos/Makefile.X11, demos/Makefile.BeOS-R4, demos/Makefile.cygnus: @@ -293,6 +296,7 @@ int main( int argc, char *argv[] ) { glutInit( &argc, argv ); glutInitWindowSize( 400, 400 ); + glutInitWindowPosition( 0, 0 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); |