progs: Port most of the demos to glew.
A couple of test weren't ported due to glew breakage -- it undefines
GLAPIENTRY.
diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c
index 10f94b6..e2ff6be 100644
--- a/progs/demos/isosurf.c
+++ b/progs/demos/isosurf.c
@@ -33,7 +33,7 @@
#include <windows.h>
#undef CLIP_MASK
#endif
-#define GL_GLEXT_PROTOTYPES
+#include <GL/glew.h>
#include "GL/glut.h"
#include "readtex.h"
@@ -1052,6 +1052,7 @@
glutInitDisplayMode(type);
if (glutCreateWindow("Isosurface") <= 0) {
+ glewInit();
exit(0);
}