From 52233f27bb99d21a085117990936d9c355e4ce08 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 10 Feb 2009 20:27:49 +0000 Subject: progs: Build samples dir with scons and glew. --- progs/samples/blendxor.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'progs/samples/blendxor.c') diff --git a/progs/samples/blendxor.c b/progs/samples/blendxor.c index 5bc4aa9bea..057143651f 100644 --- a/progs/samples/blendxor.c +++ b/progs/samples/blendxor.c @@ -10,13 +10,8 @@ #include #endif #include -#ifdef _WIN32 -#include -#endif -#define GL_GLEXT_LEGACY -#define GL_GLEXT_PROTOTYPES +#include #include -#include GLenum doubleBuffer; @@ -176,6 +171,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); -- cgit v1.2.3