silence warning
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 10 Aug 2004 15:36:46 +0000 (15:36 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 10 Aug 2004 15:36:46 +0000 (15:36 +0000)
progs/demos/paltex.c

index 86eacb48890442ecb7d7c206f3884dd1a4b44c22..aa9c0da36b7c1e80cb6bd4c33ea70e09468963f4 100644 (file)
@@ -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 );