summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-01-06 18:17:56 -0800
committerPtolemy <ptolemy@lindenlab.com>2021-01-06 18:17:56 -0800
commita5aac898093371fddf3c7323c9dadc2f5be15583 (patch)
treec11793fbeb8a58cb3ac924384b55174703fe4c9e /indra/llrender/llrender.cpp
parentdaa957b93ba173feb69d003dbc578e621a9a68e3 (diff)
SL-14035: Don't use sRGB textures when not specified
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r--indra/llrender/llrender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 11d9ef3f57..d515fc707a 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -871,10 +871,10 @@ void LLTexUnit::setTextureColorSpace(eTextureColorSpace space)
}
}
else
-#endif
{
glTexParameteri(sGLTextureType[mCurrTexType], GL_TEXTURE_SRGB_DECODE_EXT, GL_SKIP_DECODE_EXT);
}
+#endif
}
LLLightState::LLLightState(S32 index)