summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2020-03-24 18:46:08 +0000
committerDave Parks <davep@lindenlab.com>2020-03-24 18:46:08 +0000
commit5e7271cc6bf935e58b98c8031b63b705cecd2ee7 (patch)
treeb6c2b768479a16a61cba010fbaeab223dfc0b307 /indra/llrender
parent1370c6d0c03ed81c47db19a1cae78fdc272d9729 (diff)
parent20e5ad48ec1a9c6fa4902fa34b6b53f0a7fc5858 (diff)
Merged in davep/DRTVWR-440 (pull request #45)
Davep/DRTVWR-440
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llrender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index f4b5d88529..ebc4659bcf 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -1370,7 +1370,7 @@ void LLRender::syncMatrices()
}
- if (shader->mFeatures.hasLighting || shader->mFeatures.calculatesLighting)
+ if (shader->mFeatures.hasLighting || shader->mFeatures.calculatesLighting || shader->mFeatures.calculatesAtmospherics)
{ //also sync light state
syncLightState();
}