summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-08-04 17:14:19 -0600
committerDave Houlton <euclid@lindenlab.com>2020-08-04 17:14:19 -0600
commit107a7fec34df0160c959de81d0d682ec671b5958 (patch)
tree3d8fd5da549c9e5f3dcbb49a39896b248eae9d17 /indra/llrender
parentdf85976a1fbc34dbcda286f29a36e39a6f16fdd5 (diff)
SL-13521 add an avatar appearance light to deferred mode
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llrender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index cabf0528f0..e0d1ee4f4c 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -1216,7 +1216,7 @@ void LLRender::syncLightState()
LLVector3 diffuse_b[8];
bool sun_primary[8];
- for (U32 i = 0; i < 8; i++)
+ for (U32 i = 0; i < LL_NUM_LIGHT_UNITS; i++)
{
LLLightState* light = mLightState[i];