projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55336ae
)
call glutInit() in main()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 15 Jun 2000 14:25:48 +0000
(14:25 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 15 Jun 2000 14:25:48 +0000
(14:25 +0000)
progs/demos/reflect.c
patch
|
blob
|
history
diff --git
a/progs/demos/reflect.c
b/progs/demos/reflect.c
index 8ddb9726b159386d3446872c16c0b12b1a18819f..952a7f755c9fc1fd77b079b79a4d081e5cdd44d4 100644
(file)
--- a/
progs/demos/reflect.c
+++ b/
progs/demos/reflect.c
@@
-1,4
+1,4
@@
-/* $Id: reflect.c,v 1.
2 2000/04/12 01:08:30
brianp Exp $ */
+/* $Id: reflect.c,v 1.
3 2000/06/15 14:25:48
brianp Exp $ */
/*
* Demo of a reflective, texture-mapped surface with OpenGL.
@@
-356,6
+356,7
@@
static void idle( void )
int main( int argc, char *argv[] )
{
+ glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH | GLUT_STENCIL);
glutInitWindowPosition( 0, 0 );
glutInitWindowSize( Width, Height );