From 9d314074c9e3c898436321bdb90d3bf0d10c0079 Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Fri, 26 Apr 2019 10:36:44 -0700 Subject: 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. --- indra/newview/pipeline.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview/pipeline.cpp') 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) -- cgit v1.2.3