diff options
author | Graham Linden <graham@lindenlab.com> | 2013-08-03 06:52:56 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-08-03 06:52:56 -0700 |
commit | 14c7108ca3f646a8f7fd0d024ca200919bbf79bf (patch) | |
tree | 621d73154f01179a026f5171454ee7f4b374aeca /indra/newview/lldrawpoolalpha.cpp | |
parent | 2d065562f1dabd090a12b75f1aa4233ce9d7ce33 (diff) |
NORSPEC-304 NORSPEC-334 NORSPEC-336 fix black glow overdraw without breaking glow
Diffstat (limited to 'indra/newview/lldrawpoolalpha.cpp')
-rwxr-xr-x | indra/newview/lldrawpoolalpha.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp index 1cc81fa863..237579cec5 100755 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -545,10 +545,7 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask) emissive_shader->bind(); - U32 final_mask = params.mFullbright ? (mask | LLVertexBuffer::MAP_EMISSIVE) - : ((mask & ~LLVertexBuffer::MAP_COLOR) | LLVertexBuffer::MAP_EMISSIVE); - - params.mVertexBuffer->setBuffer(final_mask); + params.mVertexBuffer->setBuffer((mask & ~LLVertexBuffer::MAP_COLOR) | LLVertexBuffer::MAP_EMISSIVE); // do the actual drawing, again params.mVertexBuffer->drawRange(params.mDrawMode, params.mStart, params.mEnd, params.mCount, params.mOffset); |