summaryrefslogtreecommitdiff
path: root/indra/llrender/llrendertarget.cpp
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2013-09-09 12:46:20 -0700
committerdolphin <dolphin@lindenlab.com>2013-09-09 12:46:20 -0700
commit07cb32449f601e2d47e83d781af3bb9df2474d5c (patch)
treea913755d041e5ac780c840301ec4676894497e82 /indra/llrender/llrendertarget.cpp
parent51c01f5294b68b66706685346ecea16246b85cce (diff)
parent55ae6a7962cdc9a9d7d087fbc529d30db9c37013 (diff)
Merge with 3.6.5
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;
}