summaryrefslogtreecommitdiffstats
path: root/progs/demos
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-07-19 23:57:24 +0000
committerBrian Paul <[email protected]>2000-07-19 23:57:24 +0000
commitcf89b89be8f6d9f00b8dd571ad0b80af1b7c12a1 (patch)
tree6d83fb94ff273b29f34ba7c0447ed64a7c0d9631 /progs/demos
parent206bd46e2b030a9e8a88eadbe770030cb50aee6d (diff)
call glutInit()
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/texobj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/demos/texobj.c b/progs/demos/texobj.c
index 5fc8e82beeb..2c0dbc18267 100644
--- a/progs/demos/texobj.c
+++ b/progs/demos/texobj.c
@@ -1,4 +1,4 @@
-/* $Id: texobj.c,v 1.4 2000/03/23 16:57:14 brianp Exp $ */
+/* $Id: texobj.c,v 1.5 2000/07/19 23:57:24 brianp Exp $ */
/*
* Example of using the 1.1 texture object functions.
@@ -240,6 +240,7 @@ static void init( void )
int main( int argc, char *argv[] )
{
+ glutInit(&argc, argv);
glutInitWindowPosition(0, 0);
glutInitWindowSize(300, 300);
glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE );