diff options
author | Brian Paul <[email protected]> | 2009-02-10 16:34:51 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-10 16:34:51 -0700 |
commit | ee4c921b65fb76998711f3c40330505cbc49a0e0 (patch) | |
tree | b4c702af3d93a76e204a3aad012541d4fbcb2101 /progs/samples/blendeq.c | |
parent | 767b1acbb757186bde30973394f256ab7498a075 (diff) | |
parent | 14d808f8fdc41a26cea5264e47a24c903e54ce93 (diff) |
Merge commit 'origin/gallium-0.2' into gallium-master-merge
Diffstat (limited to 'progs/samples/blendeq.c')
-rw-r--r-- | progs/samples/blendeq.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/progs/samples/blendeq.c b/progs/samples/blendeq.c index d5143ecdf5c..cd0474c5cea 100644 --- a/progs/samples/blendeq.c +++ b/progs/samples/blendeq.c @@ -11,10 +11,7 @@ #include <string.h> #include <stdlib.h> #include <stdio.h> -#ifdef _WIN32 -#include <windows.h> -#endif -#define GL_GLEXT_PROTOTYPES +#include <GL/glew.h> #include <GL/glut.h> GLenum doubleBuffer; @@ -274,6 +271,8 @@ int main(int argc, char **argv) exit(1); } + glewInit(); + /* Make sure blend_logic_op extension is there. */ s = (char *) glGetString(GL_EXTENSIONS); version = (char*) glGetString(GL_VERSION); |