diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2025-08-11 18:40:16 +0200 |
---|---|---|
committer | Andrey Lihatskiy <118752495+marchcat@users.noreply.github.com> | 2025-08-12 14:09:53 +0000 |
commit | f03cd219a91740de9f406cfae5bbc15194156c78 (patch) | |
tree | b71b5047b3d53c47ae59f3d03f48b4d93537838e /indra/llrender/llrendertarget.cpp | |
parent | c61c9a9e67c1f5f1f123742c529b843c78577aba (diff) |
Fix clang compiler issues due to unused variables
Diffstat (limited to 'indra/llrender/llrendertarget.cpp')
-rw-r--r-- | indra/llrender/llrendertarget.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp index 38bc5ff331..0b0d69812f 100644 --- a/indra/llrender/llrendertarget.cpp +++ b/indra/llrender/llrendertarget.cpp @@ -492,22 +492,6 @@ U32 LLRenderTarget::getNumTextures() const void LLRenderTarget::bindTexture(U32 index, S32 channel, LLTexUnit::eTextureFilterOptions filter_options) { gGL.getTexUnit(channel)->bindManual(mUsage, getTexture(index), filter_options == LLTexUnit::TFO_TRILINEAR || filter_options == LLTexUnit::TFO_ANISOTROPIC); - - bool isSRGB = false; - llassert(mInternalFormat.size() > index); - switch (mInternalFormat[index]) - { - case GL_SRGB: - case GL_SRGB8: - case GL_SRGB_ALPHA: - case GL_SRGB8_ALPHA8: - isSRGB = true; - break; - - default: - break; - } - gGL.getTexUnit(channel)->setTextureFilteringOption(filter_options); } |