tests: glGetTexImage() test
[mesa.git] / progs / tests / cva.c
index a9393aef0ca5fcf1b959111fc2b1144e04efd32a..80483900cb7d077bb80aed85de9c9438533546f4 100644 (file)
@@ -15,6 +15,7 @@
 #include <windows.h>
 #endif
 #define GL_GLEXT_LEGACY
+#include <GL/glew.h>
 #include <GL/glut.h>
 #include <GL/glext.h>
 
@@ -129,6 +130,7 @@ int main( int argc, char **argv )
    glutInitWindowSize( 250, 250 );
    glutInitWindowPosition( 100, 100 );
    glutCreateWindow( "CVA Test" );
+   glewInit();
 
    /* Make sure the server supports GL 1.2 vertex arrays.
     */