summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-07-29 12:07:51 -0700
committerGraham Linden <graham@lindenlab.com>2019-07-29 12:07:51 -0700
commitfd3cf756a0e32bec5a35a7980deeede9b7be7665 (patch)
tree7d7cdffd7fd5352a52c924d0e928c5085ca1e9a1 /indra
parenteaf39fc5731da75807aeebecbd49a326bfcb470a (diff)
SL-11654
Make Low graphics not gamma correct the sky colors.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lllegacyatmospherics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lllegacyatmospherics.cpp b/indra/newview/lllegacyatmospherics.cpp
index e68f9da1a7..37661920a3 100644
--- a/indra/newview/lllegacyatmospherics.cpp
+++ b/indra/newview/lllegacyatmospherics.cpp
@@ -242,7 +242,7 @@ LLColor4 LLAtmospherics::calcSkyColorInDir(AtmosphericsVars& vars, const LLVecto
calcSkyColorWLVert(Pn, vars);
- LLColor3 sky_color = isShiny ? vars.hazeColor : psky->gammaCorrect(vars.hazeColor * 2.0f);
+ LLColor3 sky_color = (isShiny || !gPipeline.canUseWindLightShaders()) ? vars.hazeColor : psky->gammaCorrect(vars.hazeColor * 2.0f);
if (isShiny)
{