From 1b152d5114a048c7e79e0d9baff65a7867ccada9 Mon Sep 17 00:00:00 2001
From: Graham Linden <graham@lindenlab.com>
Date: Wed, 29 May 2019 07:54:32 -0700
Subject: [PATCH] Clang wants parens. Clang gets parens.

---
 indra/newview/pipeline.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index f903fdb570f..b01e148fca3 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -6334,7 +6334,7 @@ void LLPipeline::setupHWLights(LLDrawPool* pool)
 			LLVector4 light_pos_gl(light_pos, 1.0f);
 	
 			F32 light_radius = llmax(light->getLightRadius(), 0.001f);
-            F32 size = light_radius *  sRenderDeferred ? 1.5f : 1.0f;
+            F32 size = light_radius * (sRenderDeferred ? 1.5f : 1.0f);
 
             if (size <= 0.001f)
             {
@@ -6345,7 +6345,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()*0.5f + sRenderDeferred ? 0.0 : 1.f;
+            F32 falloff = light->getLightFalloff() * 0.5f + (sRenderDeferred ? 0.0 : 1.f);
 
 			mHWLightColors[cur_light] = light_color;
 			LLLightState* light_state = gGL.getLight(cur_light);
-- 
GitLab