progs/tests: Add tests to Makefile.
[mesa.git] / progs / tests / fillrate.c
index 8fe636c364be9ce9ec68f4387369c99bbc717887..1e58df281e10144cd07ee1868349962d49e1c70f 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 
-#define GL_GLEXT_PROTOTYPES
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
+#include <GL/glew.h>
 #include <GL/glut.h>
 #include "readtex.h"
 
@@ -194,6 +194,7 @@ main(int argc, char *argv[])
    glutInitWindowSize(Width, Height);
    glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE);
    Win = glutCreateWindow(argv[0]);
+   glewInit();
    glutReshapeFunc(Reshape);
    glutKeyboardFunc(Key);
    glutDisplayFunc(Draw);