diff options
| author | Graham Linden <graham@lindenlab.com> | 2019-04-26 10:36:44 -0700 |
|---|---|---|
| committer | Graham Linden <graham@lindenlab.com> | 2019-04-26 10:36:44 -0700 |
| commit | 9d314074c9e3c898436321bdb90d3bf0d10c0079 (patch) | |
| tree | e7eb0b1b16c8ea005f92181ae7b1da4b097c5dd8 /indra/newview/pipeline.cpp | |
| parent | 250c8474914290aea0bb8edb8c3754ddd4a26f3e (diff) | |
SL-11055
Remove shader change to reduce additive to combat SL1491 as it also kills additive from foggy settings.
Zero out all cached hardware light colors causing uninit fun with class3 lighting.
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rw-r--r-- | indra/newview/pipeline.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index b7c6d7817a..eb6a2edcec 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -408,6 +408,11 @@ LLPipeline::LLPipeline() : mNoiseMap = 0; mTrueNoiseMap = 0; mLightFunc = 0; + + for(U32 i = 0; i < 8; i++) + { + mHWLightColors[i] = LLColor4::black; + } } void LLPipeline::connectRefreshCachedSettingsSafe(const std::string name) |
