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
/
quad-tex-3d.c
diff --git
a/progs/trivial/quad-tex-3d.c
b/progs/trivial/quad-tex-3d.c
index fd02d9d6adc3427e1c1f0e5566ae9641ad5f875c..ca7ea91d2f36b43c15cfab22b1bd91400c998585 100644
(file)
--- a/
progs/trivial/quad-tex-3d.c
+++ b/
progs/trivial/quad-tex-3d.c
@@
-25,6
+25,7
@@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <GL/glew.h>
#include <GL/glut.h>
@@
-167,6
+168,8
@@
int main(int argc, char **argv)
exit(1);
}
+ glewInit();
+
Init();
glutReshapeFunc(Reshape);