progs/tests: compile with SCons and glew
[platform/upstream/mesa.git] / progs / tests / bug_texstore_i8.c
index f8dac21..10e5eba 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <GL/glew.h>
 #include <GL/glut.h>
 
 static GLenum Target = GL_TEXTURE_2D;
@@ -180,6 +181,7 @@ int main(int argc, char **argv)
        glutInitDisplayMode(type);
 
        win = glutCreateWindow("Tex test");
+        glewInit();
        if (!win) {
                exit(1);
        }