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/blendeq.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'progs/samples/blendeq.c') diff --git a/progs/samples/blendeq.c b/progs/samples/blendeq.c index d5143ecdf5..cd0474c5ce 100644 --- a/progs/samples/blendeq.c +++ b/progs/samples/blendeq.c @@ -11,10 +11,7 @@ #include #include #include -#ifdef _WIN32 -#include -#endif -#define GL_GLEXT_PROTOTYPES +#include #include 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); -- cgit v1.2.3