summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorsimon <none@none>2013-09-09 12:59:17 -0700
committersimon <none@none>2013-09-09 12:59:17 -0700
commite7ac4695e31821118dd1bc9ddc95f46f012abbda (patch)
treef971732dddf9173d5a9a75163f5e8312a3d5054a /indra/llrender
parent36dea0dad802158a0e546220163f4461fbd3e204 (diff)
parent55ae6a7962cdc9a9d7d087fbc529d30db9c37013 (diff)
Merge viewer-release
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 4a4153ece8..5a80a8faa4 100755
--- a/indra/llrender/llglheaders.h
+++ b/indra/llrender/llglheaders.h
@@ -1011,12 +1011,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 429b91c878..33a852bedf 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;
}