summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-18 14:33:28 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-18 14:33:28 -0700
commit5bd055fe585233b3c43e02f2082f5a95f79b825b (patch)
tree412b48d1a20c9eac4e139a66942024dde181c076 /indra/newview/pipeline.cpp
parent782ddfdb48e1bdf6995783c11342eed2de4a30bb (diff)
SL-10829 the 2nd
Made pointLightF use correct colorspace as multiPoint already was.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index d1a6fd12f2..bbc521f90e 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -6350,7 +6350,7 @@ void LLPipeline::setupHWLights(LLDrawPool* pool)
F32 linatten = x / (light_radius); // % of brightness at radius
// get falloff to match for forward deferred rendering lights
- F32 falloff = light->getLightFalloff() + (sRenderDeferred ? 0.0 : 1.f);
+ F32 falloff = light->getLightFalloff() + (sRenderDeferred ? 1.0 : 0.f);
mHWLightColors[cur_light] = light_color;
LLLightState* light_state = gGL.getLight(cur_light);