From a58065d4e2fc29644d804c92be773731242664c5 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 10 Mar 2009 13:11:23 +0000 Subject: progs/tests: compile with SCons and glew Also get mingw cross-compilation of these tests working --- progs/tests/api_speed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'progs/tests/api_speed.c') diff --git a/progs/tests/api_speed.c b/progs/tests/api_speed.c index aed65b35fe..28e28e61d8 100644 --- a/progs/tests/api_speed.c +++ b/progs/tests/api_speed.c @@ -37,9 +37,7 @@ #include #include -#define GL_GLEXT_PROTOTYPES -#include -#include +#include #include #define inline __inline__ @@ -127,6 +125,7 @@ int main( int argc, char *argv[] ) glutInitDisplayMode( GLUT_RGB ); glutCreateWindow( argv[0] ); + glewInit(); if ( argc > 1 ) { count = strtoul( argv[1], NULL, 0 ); -- cgit v1.2.3