X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=progs%2Ftests%2Ffillrate.c;h=1e58df281e10144cd07ee1868349962d49e1c70f;hb=76d2ec3a0a047a65ffca70f53848241a3225dad3;hp=8fe636c364be9ce9ec68f4387369c99bbc717887;hpb=2e28c1fda24988241ef7abb91b7d896e38f5df26;p=mesa.git diff --git a/progs/tests/fillrate.c b/progs/tests/fillrate.c index 8fe636c364b..1e58df281e1 100644 --- a/progs/tests/fillrate.c +++ b/progs/tests/fillrate.c @@ -6,10 +6,10 @@ */ -#define GL_GLEXT_PROTOTYPES #include #include #include +#include #include #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);