progs/tests: also test stencil INCR_WRAP mode if supported
[mesa.git] / progs / tests / texline.c
index 76dfccd9b1ac5e4b0a8557417b796191722614ce..1803832b47e6ddadc75d9dd44080def92042856d 100644 (file)
@@ -9,6 +9,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
+#include <GL/glew.h>
 #include <GL/glut.h>
 #include "../util/readtex.c"   /* I know, this is a hack. */
 
@@ -263,6 +264,7 @@ int main( int argc, char *argv[] )
    glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
 
    glutCreateWindow(argv[0] );
+   glewInit();
 
    Init(argc, argv);