From 2e61d136c27b9c740190643668f1e3509ce609dc Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 24 Jan 2009 16:39:49 +0000 Subject: progs: Port most of the demos to glew. A couple of test weren't ported due to glew breakage -- it undefines GLAPIENTRY. --- progs/demos/fbo_firecube.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'progs/demos/fbo_firecube.c') diff --git a/progs/demos/fbo_firecube.c b/progs/demos/fbo_firecube.c index f5ee82a2f1..4e42924a09 100644 --- a/progs/demos/fbo_firecube.c +++ b/progs/demos/fbo_firecube.c @@ -29,11 +29,11 @@ * */ -#define GL_GLEXT_PROTOTYPES #include #include #include #include +#include #include #include "readtex.h" @@ -1037,6 +1037,7 @@ main(int argc, char *argv[]) glutInitWindowSize(WinWidth, WinHeight); Win = glutCreateWindow("fbo_firecube"); + glewInit(); init(argc, argv); glutDisplayFunc(draw); -- cgit v1.2.3