summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-06-26 00:29:19 +0100
committerGraham Linden <graham@lindenlab.com>2018-06-26 00:29:19 +0100
commit135f02934fa64fe913c710e588ab2f6785224a23 (patch)
tree803f93bb01c09e25cf8d3a6b8a39a59955633e25 /indra/newview/llvosky.cpp
parent9db683c13e67575bd347cf8a795f1a4ee148c4ea (diff)
Skip updating the sky texture and fog iff we're using atmospherics shaders anyway.
Diffstat (limited to 'indra/newview/llvosky.cpp')
-rw-r--r--indra/newview/llvosky.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp
index c131cb886f..370322cd45 100644
--- a/indra/newview/llvosky.cpp
+++ b/indra/newview/llvosky.cpp
@@ -1072,7 +1072,7 @@ BOOL LLVOSky::updateSky()
LLHeavenBody::setInterpVal( mInterpVal );
calcAtmospherics();
- if (mForceUpdate || total_no_tiles == frame)
+ if (!gPipeline.canUseWindlightShaders() && mForceUpdate || total_no_tiles == frame)
{
LLSkyTex::stepCurrent();