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/mipmap_limits.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'progs/tests/mipmap_limits.c') diff --git a/progs/tests/mipmap_limits.c b/progs/tests/mipmap_limits.c index 8bdad826f7..7f0390b07d 100644 --- a/progs/tests/mipmap_limits.c +++ b/progs/tests/mipmap_limits.c @@ -51,6 +51,7 @@ */ #include #include +#include #include static GLint BaseLevel = 0, MaxLevel = 8; @@ -260,6 +261,7 @@ int main(int argc, char** argv) glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB | GLUT_DEPTH); glutInitWindowSize (600, 600); glutCreateWindow (argv[0]); + glewInit(); myinit(); glutReshapeFunc (myReshape); glutDisplayFunc(display); -- cgit v1.2.3