diff options
author | Vinson Lee <vlee@vmware.com> | 2009-04-22 07:18:07 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-04-22 07:18:07 -0600 |
commit | c5d4ca05024829ea2a50b832f313a3448841f443 (patch) | |
tree | 0ba540c2180c0ed1e2998b5ecb2c4a40883f115a /tests/general/texgen.c | |
parent | 2e84d1ef5a227abb3c080c983becba61c2cbdaac (diff) |
Mac OS fixes for general tests.
Include GLUT/glut.h instead of GL/glut.h on Mac OS. All the general
tests compile and run on Mac OS with this patch.
Diffstat (limited to 'tests/general/texgen.c')
-rw-r--r-- | tests/general/texgen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/general/texgen.c b/tests/general/texgen.c index 42d882f61..ae4b22cc3 100644 --- a/tests/general/texgen.c +++ b/tests/general/texgen.c @@ -31,7 +31,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" |