summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-09-08 14:56:41 +0000
committerBrian Paul <[email protected]>2003-09-08 14:56:41 +0000
commit445ecdcebd3f075b3c7f09de342dd351f9199fa7 (patch)
tree66206c19dc708e2d222621cd3b70be23a5eee724
parent91253e7be59659f9912398fd764de48b1445cac1 (diff)
use GL_GLEXT_PROTOTYPES
-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;