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/no_s3tc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'progs/tests/no_s3tc.c') diff --git a/progs/tests/no_s3tc.c b/progs/tests/no_s3tc.c index d3383ff98af..31cfb40b9d3 100644 --- a/progs/tests/no_s3tc.c +++ b/progs/tests/no_s3tc.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include @@ -59,6 +60,7 @@ main( int argc, char ** argv ) glutInitWindowPosition( 0, 0 ); glutInitWindowSize( 300, 300 ); glutCreateWindow( "No S3TC Test" ); + glewInit(); gl_version = strtod( (const char *) glGetString( GL_VERSION ), NULL ); if ( ! glutExtensionSupported( "GL_ARB_texture_compression" ) -- cgit v1.2.3