diff options
author | Brian Paul <[email protected]> | 2000-02-25 23:24:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-25 23:24:06 +0000 |
commit | 4ceb5616e6abc1f7e9863b67dd5e9928c9205f76 (patch) | |
tree | d704bd72afdb681f6c9382dbeea9703a51b6a2f4 /progs | |
parent | f5d36aefd10bde366adb268c0dce001afab1cc57 (diff) |
fixed bug when using display lists
Diffstat (limited to 'progs')
-rw-r--r-- | progs/demos/texobj.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/progs/demos/texobj.c b/progs/demos/texobj.c index 673923cb795..56915a7c082 100644 --- a/progs/demos/texobj.c +++ b/progs/demos/texobj.c @@ -1,4 +1,4 @@ -/* $Id: texobj.c,v 1.1 1999/08/19 00:55:40 jtg Exp $ */ +/* $Id: texobj.c,v 1.2 2000/02/25 23:24:06 brianp Exp $ */ /* * Example of using the 1.1 texture object functions. @@ -10,8 +10,11 @@ /* * $Log: texobj.c,v $ - * Revision 1.1 1999/08/19 00:55:40 jtg - * Initial revision + * Revision 1.2 2000/02/25 23:24:06 brianp + * fixed bug when using display lists + * + * Revision 1.1.1.1 1999/08/19 00:55:40 jtg + * Imported sources * * Revision 3.1 1999/03/28 18:24:37 brianp * minor clean-up @@ -84,7 +87,7 @@ static void draw( void ) #endif } else { - glCallList( TexObj[0] ); + glCallList( TexObj[1] ); } glBegin( GL_POLYGON ); glTexCoord2f( 0.0, 0.0 ); glVertex2f( -1.0, -1.0 ); |