diff options
Diffstat (limited to 'progs/glsl/identity.c')
-rw-r--r-- | progs/glsl/identity.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/glsl/identity.c b/progs/glsl/identity.c index 37579eb3469..5ba7468cc44 100644 --- a/progs/glsl/identity.c +++ b/progs/glsl/identity.c @@ -9,6 +9,7 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> +#include <GL/glew.h> #include <GL/gl.h> #include <GL/glut.h> #include <GL/glext.h> @@ -195,6 +196,7 @@ main(int argc, char *argv[]) glutInitWindowSize(200, 200); glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH); win = glutCreateWindow(argv[0]); + glewInit(); glutReshapeFunc(Reshape); glutKeyboardFunc(Key); glutSpecialFunc(SpecialKey); |