diff options
Diffstat (limited to 'progs/tests/fbotest1.c')
-rw-r--r-- | progs/tests/fbotest1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/tests/fbotest1.c b/progs/tests/fbotest1.c index ab2757c3c3d..8dac21494e6 100644 --- a/progs/tests/fbotest1.c +++ b/progs/tests/fbotest1.c @@ -6,11 +6,11 @@ */ -#define GL_GLEXT_PROTOTYPES #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <math.h> +#include <GL/glew.h> #include <GL/glut.h> static int Win; @@ -202,6 +202,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 ); |