progs/tests: also test stencil INCR_WRAP mode if supported
[mesa.git] / progs / tests / bug_3050.c
index 4ea7b80f231b50f60ca1ab9cb6cc69b85503a9c2..a04e40eaf6efab754caf7aff735967203ed62d60 100644 (file)
@@ -39,6 +39,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <GL/glew.h>
 #include <GL/glut.h>
 
 static int Width = 400;
@@ -154,6 +155,7 @@ int main( int argc, char *argv[] )
    glutInitWindowSize( Width, Height );
    glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
    glutCreateWindow( "Bug #3050 Test" );
+   glewInit();
    glutReshapeFunc( Reshape );
    glutKeyboardFunc( Key );
    glutDisplayFunc( Display );