diff options
Diffstat (limited to 'progs/demos/stex3d.c')
-rw-r--r-- | progs/demos/stex3d.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/demos/stex3d.c b/progs/demos/stex3d.c index 83ae3684ae2..c0bbea0960f 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(); |