diff options
Diffstat (limited to 'progs/tests/subtex.c')
-rw-r--r-- | progs/tests/subtex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/tests/subtex.c b/progs/tests/subtex.c index 81ceb085aaf..86b737c01fa 100644 --- a/progs/tests/subtex.c +++ b/progs/tests/subtex.c @@ -9,6 +9,7 @@ #include <assert.h> #include <stdio.h> #include <stdlib.h> +#include "GL/glew.h" #include "GL/glut.h" static GLuint Window = 0; @@ -207,6 +208,7 @@ int main( int argc, char *argv[] ) glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE ); Window = glutCreateWindow("Texture Objects"); + glewInit(); if (!Window) { exit(1); } |