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
/
tri-fp.c
diff --git
a/progs/trivial/tri-fp.c
b/progs/trivial/tri-fp.c
index 9ff355a4caf345712b35d455fd3641e5f60853d5..fcf57f5a85ff77e7c81d469de5e299e0bf6a27c2 100644
(file)
--- a/
progs/trivial/tri-fp.c
+++ b/
progs/trivial/tri-fp.c
@@
-25,7
+25,7
@@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#
define GL_GLEXT_PROTOTYPES
+#
include <GL/glew.h>
#include <GL/glut.h>
@@
-157,6
+157,8
@@
int main(int argc, char **argv)
exit(1);
}
+ glewInit();
+
Init();
glutReshapeFunc(Reshape);