projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
206bd46
)
call glutInit()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 19 Jul 2000 23:57:24 +0000
(23:57 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 19 Jul 2000 23:57:24 +0000
(23:57 +0000)
progs/demos/texobj.c
patch
|
blob
|
history
diff --git
a/progs/demos/texobj.c
b/progs/demos/texobj.c
index 5fc8e82beebda80a7a49374d0785ba1fee7ba0f9..2c0dbc18267d53c6184ce5aed484be6f6d834ec2 100644
(file)
--- 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:1
4 brianp Exp $ */
+/* $Id: texobj.c,v 1.
5 2000/07/19 23:57:2
4 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 );