diff options
Diffstat (limited to 'progs/trivial/tri-tex-3d.c')
-rw-r--r-- | progs/trivial/tri-tex-3d.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/trivial/tri-tex-3d.c b/progs/trivial/tri-tex-3d.c index 613803fd1b1..50f6a754189 100644 --- a/progs/trivial/tri-tex-3d.c +++ b/progs/trivial/tri-tex-3d.c @@ -25,6 +25,7 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> +#include <GL/glew.h> #include <GL/glut.h> @@ -160,6 +161,8 @@ int main(int argc, char **argv) exit(1); } + glewInit(); + Init(); glutReshapeFunc(Reshape); |