diff options
Diffstat (limited to 'progs/tests/multitexarray.c')
-rw-r--r-- | progs/tests/multitexarray.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/tests/multitexarray.c b/progs/tests/multitexarray.c index b4fab004a6..518fee2992 100644 --- a/progs/tests/multitexarray.c +++ b/progs/tests/multitexarray.c @@ -16,6 +16,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> +#include "GL/glew.h" #include "GL/glut.h" static GLuint Window = 0; @@ -221,6 +222,7 @@ int main( int argc, char *argv[] ) glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); Window = glutCreateWindow("Texture Objects"); + glewInit(); if (!Window) { exit(1); } |