summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-10 15:36:46 +0000
committerBrian Paul <[email protected]>2004-08-10 15:36:46 +0000
commit5222662f520b4b116116ac01b3ed1d74193a09d9 (patch)
tree46932a42435dd9c6ff24b55c62967945a12a72c1
parent16c8dce363c3fd3384eb47ebb3ca90ab0e737fd0 (diff)
silence warning
-rw-r--r--progs/demos/paltex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/demos/paltex.c b/progs/demos/paltex.c
index 86eacb48890..aa9c0da36b7 100644
--- a/progs/demos/paltex.c
+++ b/progs/demos/paltex.c
@@ -10,8 +10,8 @@
#include <string.h>
#ifdef _WIN32
#include <windows.h>
-#define GL_GLEXT_PROTOTYPES
#endif
+#define GL_GLEXT_PROTOTYPES
#include <GL/glut.h>
@@ -257,6 +257,7 @@ int main( int argc, char *argv[] )
glutCreateWindow(argv[0]);
Init();
+ (void) Init2; /* silence warning */
glutReshapeFunc( Reshape );
glutKeyboardFunc( Key );