summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-07-01 16:27:20 -0500
committerDave Parks <davep@lindenlab.com>2013-07-01 16:27:20 -0500
commitd6d2f74fbbf22ba70166a97e15b6c3b39e42ac4d (patch)
treef4bdf0bb387e4d8157963d1c0f5f971d470fde22 /indra/llrender/llrender.cpp
parentd262ca32d3b80803595fcc3f61f008786125250d (diff)
NORSPEC-290 Shader optimization WIP -- compatibility pass with OpenGL 3.3, slight cleanup.
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rwxr-xr-xindra/llrender/llrender.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index c4585936ee..3393d352de 100755
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -832,8 +832,8 @@ LLLightState::LLLightState(S32 index)
: mIndex(index),
mEnabled(false),
mConstantAtten(1.f),
- mLinearAtten(0.f),
- mQuadraticAtten(0.f),
+ mLinearAtten(1.f),
+ mQuadraticAtten(1.f),
mSpotExponent(0.f),
mSpotCutoff(180.f)
{