summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--progs/demos/isosurf.c3
-rw-r--r--progs/samples/blendeq.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c
index 1ee738d17a..555757cc42 100644
--- a/progs/demos/isosurf.c
+++ b/progs/demos/isosurf.c
@@ -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"
diff --git a/progs/samples/blendeq.c b/progs/samples/blendeq.c
index 12107f5a6d..315257b9e4 100644
--- a/progs/samples/blendeq.c
+++ b/progs/samples/blendeq.c
@@ -14,10 +14,9 @@
#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;