summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-09-17 02:36:43 -0500
committerDave Parks <davep@lindenlab.com>2011-09-17 02:36:43 -0500
commit421e52ff98b67398843482713d754678a7153f50 (patch)
tree648268fadd4d62d5a9822c022a117913d0603a17 /indra/newview/llvosky.cpp
parent0c2876ef2c9c9b5e739329de9a2c261185b094f1 (diff)
SH-2243 work in progress -- gDEBugger guided removal of deprecated state changes
Diffstat (limited to 'indra/newview/llvosky.cpp')
-rw-r--r--indra/newview/llvosky.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp
index ef21e7373e..29ca16ede6 100644
--- a/indra/newview/llvosky.cpp
+++ b/indra/newview/llvosky.cpp
@@ -2162,7 +2162,10 @@ void LLVOSky::updateFog(const F32 distance)
glFogf(GL_FOG_DENSITY, fog_density);
- glHint(GL_FOG_HINT, GL_NICEST);
+ if (!LLGLSLShader::sNoFixedFunction)
+ {
+ glHint(GL_FOG_HINT, GL_NICEST);
+ }
stop_glerror();
}