summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 );