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