Merge branch 'mesa_7_6_branch'
[mesa.git] / progs / tests / invert.c
index 750592ed79f2efd71c3e8e2d1761b15b716642d3..63099fbd22105063e8a9836a5a22966a74c4dbef 100644 (file)
@@ -35,6 +35,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <GL/glew.h>
 #include <GL/glut.h>
 
 #include "readtex.h"
@@ -186,6 +187,7 @@ int main( int argc, char *argv[] )
    glutInitWindowSize( Width, Height );
    glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
    glutCreateWindow( "GL_MESA_pack_invert test" );
+   glewInit();
    glutReshapeFunc( Reshape );
    glutKeyboardFunc( Key );
    glutDisplayFunc( Display );