diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-28 21:48:22 -0800 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-28 21:48:22 -0800 |
commit | c67c7ddd63c06e4e4f0a25a2ef23b941b85dd7bf (patch) | |
tree | 168765a5982a4dc3afe8093b77e7aad10e83c80b /indra/newview/pipeline.cpp | |
parent | c1ae6160a5f277176063f10d5cde39673aedd419 (diff) |
getting closer to point/spot interchangability
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 2a1ed1b5ab..3dc175d723 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -4584,8 +4584,8 @@ void LLPipeline::setupHWLights(LLDrawPool* pool) glLightf (gllight, GL_SPOT_CUTOFF, 180.0f); // we use specular.w = 1.0 as a cheap hack for the shaders to know that this is omnidirectional rather than a spotlight - const float specular = {0.f, 0.f, 0.f, 1.f}, - glLightfv(gllight, GL_SPECULAR, LLColor4::black.mV); + const float specular[] = {0.f, 0.f, 0.f, 1.f}; + glLightfv(gllight, GL_SPECULAR, specular); } cur_light++; if (cur_light >= 8) |