summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolalpha.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-08-03 06:52:56 -0700
committerGraham Linden <graham@lindenlab.com>2013-08-03 06:52:56 -0700
commit14c7108ca3f646a8f7fd0d024ca200919bbf79bf (patch)
tree621d73154f01179a026f5171454ee7f4b374aeca /indra/newview/lldrawpoolalpha.cpp
parent2d065562f1dabd090a12b75f1aa4233ce9d7ce33 (diff)
NORSPEC-304 NORSPEC-334 NORSPEC-336 fix black glow overdraw without breaking glow
Diffstat (limited to 'indra/newview/lldrawpoolalpha.cpp')
-rwxr-xr-xindra/newview/lldrawpoolalpha.cpp5
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);