diff options
author | Brian Paul <brianp@vmware.com> | 2010-02-15 18:04:00 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-02-15 18:04:39 -0700 |
commit | c6e63f3cc235b2d7b06664a493584671a2493045 (patch) | |
tree | 9f254c44ea3fc2c999ed78312a775495a82721f2 /progs/redbook/combiner.c | |
parent | bd3829b5f5b204d95d9ac3e5538ca11d0904ba7d (diff) |
progs/redbook: use glew
Diffstat (limited to 'progs/redbook/combiner.c')
-rw-r--r-- | progs/redbook/combiner.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/redbook/combiner.c b/progs/redbook/combiner.c index 5e7e44152a..92e4de484a 100644 --- a/progs/redbook/combiner.c +++ b/progs/redbook/combiner.c @@ -58,6 +58,7 @@ * scaling factor and reversing the order of subtraction * for a combination function. */ +#include <GL/glew.h> #include <GL/glut.h> #include <stdlib.h> #include <stdio.h> @@ -368,6 +369,7 @@ int main(int argc, char** argv) glutInitWindowSize(400, 400); glutInitWindowPosition(100, 100); glutCreateWindow(argv[0]); + glewInit(); init(); glutDisplayFunc(display); glutReshapeFunc(reshape); |