diff options
author | Dave Parks <davep@lindenlab.com> | 2013-05-07 17:20:33 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-05-07 17:20:33 -0500 |
commit | dbfcd6c9c5709b74365c2538ba312685b09d22bf (patch) | |
tree | 378a109c6094afea0bb32a8a7334b226ab2fc60b /indra/newview/llspatialpartition.cpp | |
parent | 2a8ec731c93bb3c119cea166057a027aa37e383b (diff) |
Optimization -- don't draw glow in alpha pool unless needed
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 1ec56eb5f8..2a1d0d223c 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -4656,7 +4656,8 @@ LLDrawInfo::LLDrawInfo(U16 start, U16 end, U32 count, U32 offset, mDistance(0.f), mDrawMode(LLRender::TRIANGLES), mBlendFuncSrc(LLRender::BF_SOURCE_ALPHA), - mBlendFuncDst(LLRender::BF_ONE_MINUS_SOURCE_ALPHA) + mBlendFuncDst(LLRender::BF_ONE_MINUS_SOURCE_ALPHA), + mHasGlow(FALSE) { mVertexBuffer->validateRange(mStart, mEnd, mCount, mOffset); |