progs/tests: compile with SCons and glew
[mesa.git] / progs / tests / texgenmix.c
index be8f6775c707297a4fdffd5dbdf4d6ae304c1538..008da8625e20848a0651eea9370ed6f6b02821e2 100644 (file)
@@ -6,6 +6,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <GL/glew.h>
 #include <GL/glut.h>
 
 #undef max
@@ -618,6 +619,7 @@ int main( int argc, char *argv[] )
    glutInitWindowSize( winWidth, winHeight );
    glutInitWindowPosition( 0, 0 );
    glutCreateWindow( "Mixed texgen/non-texgen texture coordinate test" );
+   glewInit();
 
    initialize();
    instructions();