X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=progs%2Ftests%2Fsubtex.c;h=86b737c01fa05efb119ef6928429e6e06a146593;hb=3fff84a999e7d564c16846340bb2b7dac75fb8b3;hp=81ceb085aafff3e895c0d392bd5daeecf942bcaa;hpb=81c862205e32b163a9f5ecf3f59e4cdcccee36c6;p=mesa.git diff --git a/progs/tests/subtex.c b/progs/tests/subtex.c index 81ceb085aaf..86b737c01fa 100644 --- a/progs/tests/subtex.c +++ b/progs/tests/subtex.c @@ -9,6 +9,7 @@ #include #include #include +#include "GL/glew.h" #include "GL/glut.h" static GLuint Window = 0; @@ -207,6 +208,7 @@ int main( int argc, char *argv[] ) glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE ); Window = glutCreateWindow("Texture Objects"); + glewInit(); if (!Window) { exit(1); }