summaryrefslogtreecommitdiffstats
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 1ee738d17a2..555757cc42c 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 12107f5a6d5..315257b9e45 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;