summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-09-10 15:30:13 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-09-10 15:30:13 -0400
commite6a68e1f09e4d056b4932111e09c3bff98acf29d (patch)
treeff6042868eef497f485594d7c45b6c7c45d580b8 /indra/llrender
parentf878b032e8c96c4e4ae752864d7641bba2ea4102 (diff)
parent55ae6a7962cdc9a9d7d087fbc529d30db9c37013 (diff)
merge
Diffstat (limited to 'indra/llrender')
-rwxr-xr-xindra/llrender/llglheaders.h5
-rwxr-xr-xindra/llrender/llrendertarget.cpp5
2 files changed, 4 insertions, 6 deletions
diff --git a/indra/llrender/llglheaders.h b/indra/llrender/llglheaders.h
index dace572953..1bec6d376b 100755
--- a/indra/llrender/llglheaders.h
+++ b/indra/llrender/llglheaders.h
@@ -1009,12 +1009,7 @@ 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
diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp
index d53c37a847..5ea8387c04 100755
--- a/indra/llrender/llrendertarget.cpp
+++ b/indra/llrender/llrendertarget.cpp
@@ -252,12 +252,15 @@ bool LLRenderTarget::addColorAttachment(U32 color_fmt)
mTex.push_back(tex);
mInternalFormat.push_back(color_fmt);
+#if !LL_DARWIN
if (gDebugGL)
{ //bind and unbind to validate target
bindTarget();
flush();
}
-
+#endif
+
+
return true;
}