progs/trivial: Use glew where needed.
[mesa.git] / progs / trivial / point-param.c
index 96544a05255dee00c192e2c415052dc9fa4bd82f..1edeec3468aeaf288bee203225259f51f76fe172 100644 (file)
@@ -22,7 +22,7 @@
  * OF THIS SOFTWARE.
  */
 
-#define GL_GLEXT_PROTOTYPES
+#include <GL/glew.h>
 #include <math.h>
 #include <stdio.h>
 #include <string.h>
@@ -146,6 +146,8 @@ int main(int argc, char **argv)
        exit(1);
     }
 
+    glewInit();
+
     Init();
 
     glutReshapeFunc(Reshape);