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/streaming_rect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/demos/streaming_rect.c') diff --git a/progs/demos/streaming_rect.c b/progs/demos/streaming_rect.c index 4c1d8535fd..4d4656e722 100644 --- a/progs/demos/streaming_rect.c +++ b/progs/demos/streaming_rect.c @@ -6,12 +6,11 @@ * */ -#define GL_GLEXT_PROTOTYPES - #include #include #include #include +#include #include #include "readtex.h" @@ -303,6 +302,7 @@ int main( int argc, char *argv[] ) glutInitWindowPosition( 0, 0 ); glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE ); glutCreateWindow(argv[0] ); + glewInit(); Init( argc, argv ); -- cgit v1.2.3