gallium: Make the intel xorg winsys start up with any Intel chipset.
[mesa.git] / progs / tests / packedpixels.c
index 67ffe0882590131cc1d9ad1b1aef527838d35870..1703b271cb03011f40ff27ce072160cea78e1953 100644 (file)
@@ -8,6 +8,7 @@
 #include <stdlib.h>
 #include <math.h>
 #include <string.h>
+#include <GL/glew.h>
 #include <GL/glut.h>
 
 
@@ -333,6 +334,7 @@ main(int argc, char *argv[])
    glutInitWindowSize(700, 800);
    glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
    glutCreateWindow(argv[0]);
+   glewInit();
    glutReshapeFunc(Reshape);
    glutKeyboardFunc(Key);
    glutDisplayFunc(Draw);