summaryrefslogtreecommitdiff
path: root/indra/llrender/llglheaders.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-08-24 13:55:28 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-08-24 13:55:28 -0400
commitca0f80c9dec990233468404d994227bdbea93790 (patch)
treee2b03a81886912b0975d70ea21caefa628ac50ab /indra/llrender/llglheaders.h
parentb59a443254ef11def158ffb46dbbb3d4d3dada4a (diff)
parente51a57b895895e3a3a613022b973067fd17d9561 (diff)
merge
Diffstat (limited to 'indra/llrender/llglheaders.h')
-rw-r--r--indra/llrender/llglheaders.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llglheaders.h b/indra/llrender/llglheaders.h
index a0727b8686..509de51f4d 100644
--- a/indra/llrender/llglheaders.h
+++ b/indra/llrender/llglheaders.h
@@ -993,7 +993,12 @@ extern void glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
}
#endif
+#if __MAC_OS_X_VERSION_MAX_ALLOWED <= 1070
+#include <OpenGL/gl.h>
+#else
#include <AGL/gl.h>
+#endif
+
#endif // LL_MESA / LL_WINDOWS / LL_DARWIN