summaryrefslogtreecommitdiff
path: root/progs/demos/stex3d.c
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2009-02-02 02:13:07 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2009-02-02 02:13:07 +0100
commit59edbc70cd1042a884e7d153ba547c2f7f87318d (patch)
treec5764fc515f31ab8017d63b476c8ec1178d41d96 /progs/demos/stex3d.c
parent4035e0f8989754ee7d31212e69d6461f1bbff008 (diff)
parent1c90cdd878e9d10e1f6ac619d5d0c3f5151fcb2b (diff)
Merge branch 'gallium-0.2' of git+ssh://marcheu@git.freedesktop.org/git/mesa/mesa into gallium-0.2
Diffstat (limited to 'progs/demos/stex3d.c')
-rw-r--r--progs/demos/stex3d.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/demos/stex3d.c b/progs/demos/stex3d.c
index 83ae3684ae..c0bbea0960 100644
--- a/progs/demos/stex3d.c
+++ b/progs/demos/stex3d.c
@@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
-#include <GL/gl.h>
+#include <GL/glew.h>
#include <GL/glut.h>
@@ -662,6 +662,8 @@ main(int argc, char **argv)
exit(0);
}
+ glewInit();
+
init();
printHelp();