diff options
Diffstat (limited to 'progs/demos/isosurf.c')
-rw-r--r-- | progs/demos/isosurf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c index 10f94b6ace2..e2ff6bea0b3 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 @@ int main(int argc, char **argv) glutInitDisplayMode(type); if (glutCreateWindow("Isosurface") <= 0) { + glewInit(); exit(0); } |