diff options
author | Graham Linden <graham@lindenlab.com> | 2013-08-03 08:25:03 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-08-03 08:25:03 -0700 |
commit | 9557926fff5992276811c1b1d9aa371ede9004a8 (patch) | |
tree | 48baef9d9c49f41a4c83f31867560762db1ea3ba | |
parent | 14c7108ca3f646a8f7fd0d024ca200919bbf79bf (diff) |
NORSPEC-332 fix fullbright tex indexing fail
-rwxr-xr-x | indra/newview/lldrawpoolalpha.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp index 237579cec5..fca4492fbb 100755 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -529,7 +529,7 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask) } } - params.mVertexBuffer->setBuffer(mask & ~(params.mFullbright ? (LLVertexBuffer::MAP_TEXTURE_INDEX | LLVertexBuffer::MAP_TANGENT | LLVertexBuffer::MAP_TEXCOORD1 | LLVertexBuffer::MAP_TEXCOORD2) : 0)); + params.mVertexBuffer->setBuffer(mask & ~(params.mFullbright ? (LLVertexBuffer::MAP_TANGENT | LLVertexBuffer::MAP_TEXCOORD1 | LLVertexBuffer::MAP_TEXCOORD2) : 0)); params.mVertexBuffer->drawRange(params.mDrawMode, params.mStart, params.mEnd, params.mCount, params.mOffset); gPipeline.addTrianglesDrawn(params.mCount, params.mDrawMode); |