use GL_GLEXT_PROTOTYPES
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 8 Sep 2003 14:56:41 +0000 (14:56 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 8 Sep 2003 14:56:41 +0000 (14:56 +0000)
progs/demos/isosurf.c
progs/samples/blendeq.c

index 1ee738d17a293b8ba25a9e6af5b77eef0668b7a0..555757cc42c315b30853a53a652df882275cb573 100644 (file)
@@ -33,9 +33,8 @@
 #include <windows.h>
 #undef CLIP_MASK
 #endif
-#define GL_GLEXT_LEGACY
+#define GL_GLEXT_PROTOTYPES
 #include "GL/glut.h"
-#include "GL/glext.h"
 
 #include "readtex.c"   /* I know, this is a hack.  KW: me too. */
 #define TEXTURE_FILE "../images/reflect.rgb"
index 12107f5a6d5d624a636e671428f2dcd0eab4e92c..315257b9e455d964c5ad9b9e1cb4015282af3def 100644 (file)
 #ifdef _WIN32
 #include <windows.h>
 #endif
-#define GL_GLEXT_LEGACY
+#define GL_GLEXT_PROTOTYPES
 #include <GL/glut.h>
 
-
 GLenum doubleBuffer;
 static int dithering = 0;
 static int doPrint = 1;