summaryrefslogtreecommitdiff
path: root/tests/general/scissor-depth-clear.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-06-30 16:12:09 -0700
committerVinson Lee <vlee@vmware.com>2009-06-30 16:12:09 -0700
commit64582bc78259a8fe11a8f023a9f12dc61440108f (patch)
tree06e1e2b2f132e749b80ea00a9ff254d9a07543cf /tests/general/scissor-depth-clear.c
parent6328d2370e582c7031f50d029148da3b96fab13d (diff)
Mac OS GLUT header fixes.
Include GLUT/glut.h on Mac OS.
Diffstat (limited to 'tests/general/scissor-depth-clear.c')
-rw-r--r--tests/general/scissor-depth-clear.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/general/scissor-depth-clear.c b/tests/general/scissor-depth-clear.c
index edc099938..93bff5ecb 100644
--- a/tests/general/scissor-depth-clear.c
+++ b/tests/general/scissor-depth-clear.c
@@ -30,7 +30,11 @@
* Tests that glScissor properly affects glCopyPixels().
*/
+#if defined(__APPLE__)
+#include <GLUT/glut.h>
+#else
#include "GL/glut.h"
+#endif
#include <string.h>
#include <stdio.h>
#include <unistd.h>