summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolwlsky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldrawpoolwlsky.cpp')
-rw-r--r--indra/newview/lldrawpoolwlsky.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/lldrawpoolwlsky.cpp b/indra/newview/lldrawpoolwlsky.cpp
index 9039c8cbcb..b9bc7678e6 100644
--- a/indra/newview/lldrawpoolwlsky.cpp
+++ b/indra/newview/lldrawpoolwlsky.cpp
@@ -484,9 +484,6 @@ void LLDrawPoolWLSky::renderHeavenlyBodies()
{
sun_shader->bind();
- gGL.getTexUnit(0)->setTextureColorSpace(LLTexUnit::TCS_SRGB);
- gGL.getTexUnit(1)->setTextureColorSpace(LLTexUnit::TCS_SRGB);
-
if (tex_a && (!tex_b || (tex_a == tex_b)))
{
// Bind current and next sun textures
@@ -535,9 +532,6 @@ void LLDrawPoolWLSky::renderHeavenlyBodies()
{
moon_shader->bind();
- gGL.getTexUnit(0)->setTextureColorSpace(LLTexUnit::TCS_SRGB);
- gGL.getTexUnit(1)->setTextureColorSpace(LLTexUnit::TCS_SRGB);
-
if (tex_a && (!tex_b || (tex_a == tex_b)))
{
// Bind current and next sun textures