diff options
Diffstat (limited to 'progs/tests/mapbufrange.c')
-rw-r--r-- | progs/tests/mapbufrange.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/tests/mapbufrange.c b/progs/tests/mapbufrange.c index 04d57b58f1..0021bb2607 100644 --- a/progs/tests/mapbufrange.c +++ b/progs/tests/mapbufrange.c @@ -9,13 +9,13 @@ */ -#define GL_GLEXT_PROTOTYPES #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <GL/glew.h> +#include <GL/glew.h> #include <GL/glut.h> static GLuint Win; @@ -194,6 +194,7 @@ main(int argc, char *argv[]) glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE); Win = glutCreateWindow(argv[0]); glewInit(); + glewInit(); glutReshapeFunc(Reshape); glutKeyboardFunc(Key); glutDisplayFunc(Display); |