diff options
Diffstat (limited to 'progs/tests/fbotexture.c')
-rw-r--r-- | progs/tests/fbotexture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/tests/fbotexture.c b/progs/tests/fbotexture.c index ae993576b0..bc6c7278ed 100644 --- a/progs/tests/fbotexture.c +++ b/progs/tests/fbotexture.c @@ -9,7 +9,7 @@ */ -#define GL_GLEXT_PROTOTYPES +#include <GL/glew.h> #include <GL/glut.h> #include <assert.h> #include <stdio.h> @@ -605,6 +605,7 @@ main(int argc, char *argv[]) glutInitWindowSize(Width, Height); glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE); Win = glutCreateWindow(argv[0]); + glewInit(); glutReshapeFunc(Reshape); glutKeyboardFunc(Key); glutDisplayFunc(Display); |