summaryrefslogtreecommitdiff
path: root/indra/llrender/llrendertarget.cpp
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2013-09-10 14:59:33 -0700
committerDon Kjer <don@lindenlab.com>2013-09-10 14:59:33 -0700
commit683c36ae2f81bd08d83d7e37c60f447196635834 (patch)
tree05c60ca16e66a297a9ec19f0dc64c3f7664edcf0 /indra/llrender/llrendertarget.cpp
parent3a44c5c2a3e04ed8e7174bedb5753d29e6581019 (diff)
parente6a68e1f09e4d056b4932111e09c3bff98acf29d (diff)
Automated merge
Diffstat (limited to 'indra/llrender/llrendertarget.cpp')
-rwxr-xr-xindra/llrender/llrendertarget.cpp5
1 files changed, 4 insertions, 1 deletions
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;
}