summaryrefslogtreecommitdiff
path: root/indra/llrender/llrendertarget.cpp
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2013-09-10 20:17:43 +0300
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2013-09-10 20:17:43 +0300
commit8a0b7eaaddf9170db5f205d94f680915da13239c (patch)
tree7b2028fa1bbb4fa64adcc4a1298952465cd87539 /indra/llrender/llrendertarget.cpp
parentd995782edf1a55c327ad3f3349bd9d4b6ec3d9e6 (diff)
parente2019e8a3b5175eb6d7322fbe7c466f213854640 (diff)
Merge for MAINT-3117
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 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;
}