From 135f02934fa64fe913c710e588ab2f6785224a23 Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Tue, 26 Jun 2018 00:29:19 +0100 Subject: Skip updating the sky texture and fog iff we're using atmospherics shaders anyway. --- indra/newview/llvosky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') 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(); -- cgit v1.2.3