projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
progs/trivial: Use glew where needed.
[mesa.git]
/
progs
/
trivial
/
point-param.c
diff --git
a/progs/trivial/point-param.c
b/progs/trivial/point-param.c
index 96544a05255dee00c192e2c415052dc9fa4bd82f..1edeec3468aeaf288bee203225259f51f76fe172 100644
(file)
--- a/
progs/trivial/point-param.c
+++ b/
progs/trivial/point-param.c
@@
-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);