summaryrefslogtreecommitdiff
path: root/tests/texturing/gen-teximage.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-04-24 08:29:21 -0600
committerBrian Paul <brianp@vmware.com>2009-04-24 08:29:45 -0600
commitebba94441a1464fc772d55ba440847a360d9d7c1 (patch)
treec33836c193347bcb79899598887b6fe96beb8c17 /tests/texturing/gen-teximage.c
parentf2bda112ae4e3b8aa0156abfec247fd5ddd5bdb4 (diff)
Mac OS fixes for texturing tests
Include GLUT/glut.h instead of GL/glut.h on Mac OS. With this patch, all the texturing tests except for tfp compile and run on Mac OS.
Diffstat (limited to 'tests/texturing/gen-teximage.c')
-rw-r--r--tests/texturing/gen-teximage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/texturing/gen-teximage.c b/tests/texturing/gen-teximage.c
index 32f330a34..2a9607f06 100644
--- a/tests/texturing/gen-teximage.c
+++ b/tests/texturing/gen-teximage.c
@@ -36,7 +36,11 @@
* existing texture.
*/
+#if defined(__APPLE__)
+#include <GLUT/glut.h>
+#else
#include "GL/glut.h"
+#endif
#include <string.h>
#include <stdio.h>
#include <unistd.h>