summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-08-10 15:36:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-08-10 15:36:46 +0000
commit5222662f520b4b116116ac01b3ed1d74193a09d9 (patch)
tree46932a42435dd9c6ff24b55c62967945a12a72c1 /progs
parent16c8dce363c3fd3384eb47ebb3ca90ab0e737fd0 (diff)
silence warning
Diffstat (limited to 'progs')
-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 86eacb4889..aa9c0da36b 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 );