diff options
Diffstat (limited to 'progs/tests/vptest2.c')
-rw-r--r-- | progs/tests/vptest2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/tests/vptest2.c b/progs/tests/vptest2.c index 2158e07f04..4161b03a67 100644 --- a/progs/tests/vptest2.c +++ b/progs/tests/vptest2.c @@ -5,7 +5,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> -#define GL_GLEXT_PROTOTYPES +#include <GL/glew.h> #include <GL/glut.h> @@ -140,6 +140,7 @@ int main( int argc, char *argv[] ) glutInitWindowSize( 50, 50 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH ); glutCreateWindow(argv[0]); + glewInit(); glutReshapeFunc( Reshape ); glutKeyboardFunc( Key ); glutDisplayFunc( Display ); |