summaryrefslogtreecommitdiff
path: root/indra/llrender/llrendertarget.cpp
diff options
context:
space:
mode:
authorHoward (Aech Linden) Stearns <howard.stearns@gmail.com>2022-09-19 12:16:49 -0700
committerHoward (Aech Linden) Stearns <howard.stearns@gmail.com>2022-09-19 12:16:49 -0700
commit718073717c70b1f7e7284a02641c0a0a7bf50367 (patch)
tree45481ad9514c5ea91d8357615909e0c4fc73bd4d /indra/llrender/llrendertarget.cpp
parent4f7c86a145877bdaae3e74900076b6790b7abc0e (diff)
SL-18128, SL-18128 - No glerror on Mac!
Diffstat (limited to 'indra/llrender/llrendertarget.cpp')
-rw-r--r--indra/llrender/llrendertarget.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp
index 015312e570..01e0b4336c 100644
--- a/indra/llrender/llrendertarget.cpp
+++ b/indra/llrender/llrendertarget.cpp
@@ -301,13 +301,11 @@ 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;