diff options
author | Graham Linden <graham@lindenlab.com> | 2018-06-26 00:29:19 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-06-26 00:29:19 +0100 |
commit | 135f02934fa64fe913c710e588ab2f6785224a23 (patch) | |
tree | 803f93bb01c09e25cf8d3a6b8a39a59955633e25 /indra/newview/llvosky.cpp | |
parent | 9db683c13e67575bd347cf8a795f1a4ee148c4ea (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.cpp | 2 |
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(); |