diff options
author | Vinson Lee <vlee@vmware.com> | 2009-04-24 08:29:21 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-04-24 08:29:45 -0600 |
commit | ebba94441a1464fc772d55ba440847a360d9d7c1 (patch) | |
tree | c33836c193347bcb79899598887b6fe96beb8c17 /tests/texturing/texredefine.c | |
parent | f2bda112ae4e3b8aa0156abfec247fd5ddd5bdb4 (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/texredefine.c')
-rw-r--r-- | tests/texturing/texredefine.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/texturing/texredefine.c b/tests/texturing/texredefine.c index 7d2334a7..5b549ed9 100644 --- a/tests/texturing/texredefine.c +++ b/tests/texturing/texredefine.c @@ -33,7 +33,11 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> +#if defined(__APPLE__) +#include <GLUT/glut.h> +#else #include <GL/glut.h> +#endif #include "piglit-util.h" |