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/dinoshade.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'progs/tests/dinoshade.c') diff --git a/progs/tests/dinoshade.c b/progs/tests/dinoshade.c index 44115b9..fb7c3f4 100644 --- a/progs/tests/dinoshade.c +++ b/progs/tests/dinoshade.c @@ -43,6 +43,7 @@ #include #endif #define GL_GLEXT_LEGACY +#include /* OpenGL Utility Toolkit header */ #include /* OpenGL Utility Toolkit header */ /* Some files do not define M_PI... */ @@ -823,6 +824,7 @@ main(int argc, char **argv) #endif glutCreateWindow("Shadowy Leapin' Lizards"); + glewInit(); if (glutGet(GLUT_WINDOW_STENCIL_SIZE) <= 1) { printf("dinoshade: Sorry, I need at least 2 bits of stencil.\n"); -- cgit v1.1