summaryrefslogtreecommitdiff
path: root/indra/llrender/llrendertarget.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-09-09 14:27:48 -0700
committerMerov Linden <merov@lindenlab.com>2013-09-09 14:27:48 -0700
commit094a226fd8027405dd220dbc25951a3b70c9fa67 (patch)
treefe782e520a8a40c531080281b509b28cf8feec68 /indra/llrender/llrendertarget.cpp
parenteaf287cc20efbad97fba17a65efd57eeba0f7278 (diff)
parent55ae6a7962cdc9a9d7d087fbc529d30db9c37013 (diff)
Pull from lindenlab/viewer-release
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;
}