summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2020-03-18 23:35:17 -0700
committerPtolemy <ptolemy@lindenlab.com>2020-03-18 23:37:47 -0700
commite466ab255d8bda1d1c5e27dd2291d11d53a50691 (patch)
treef8b40b2702f8f302e71d72ddf942c4cd6b9ae105 /indra/newview
parent03e0549d573a14c32f4fc4a57e007108851e9f1f (diff)
SL-12574 Cleanup unused final_atten
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lllegacyatmospherics.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/lllegacyatmospherics.cpp b/indra/newview/lllegacyatmospherics.cpp
index 2bba56f646..a2acb3efe2 100644
--- a/indra/newview/lllegacyatmospherics.cpp
+++ b/indra/newview/lllegacyatmospherics.cpp
@@ -369,11 +369,6 @@ void LLAtmospherics::calcSkyColorWLVert(const LLSettingsSky::ptr_t &psky, LLVect
// Haze color below cloud
vars.hazeColorBelowCloud = (blue_factor * (sunlight + tmpAmbient) + componentMult(haze_factor, sunlight * temp2.mV[0] + tmpAmbient));
- LLColor3 final_atten = LLColor3::white - temp1;
- final_atten.mV[0] = llmax(final_atten.mV[0], 0.0f);
- final_atten.mV[1] = llmax(final_atten.mV[1], 0.0f);
- final_atten.mV[2] = llmax(final_atten.mV[2], 0.0f);
-
// Final atmosphere additive
componentMultBy(vars.hazeColor, LLColor3::white - temp1);