NORSPEC-304 fix glow pass rendering over alpha pass after ALM toggle

meow-7.2.2
Graham Madarasz (Graham Linden) 2013-08-01 10:34:36 -07:00
parent 42ce98e8bf
commit 4a3c99beb2
1 changed files with 1 additions and 2 deletions

View File

@ -545,8 +545,7 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask)
emissive_shader->bind();
// glow doesn't use vertex colors from the mesh data
params.mVertexBuffer->setBuffer((mask & ~LLVertexBuffer::MAP_COLOR) | LLVertexBuffer::MAP_EMISSIVE);
params.mVertexBuffer->setBuffer(mask & LLVertexBuffer::MAP_EMISSIVE);
// do the actual drawing, again
params.mVertexBuffer->drawRange(params.mDrawMode, params.mStart, params.mEnd, params.mCount, params.mOffset);