diff options
author | Brad Linden <46733234+brad-linden@users.noreply.github.com> | 2023-02-28 10:33:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 10:33:37 -0800 |
commit | 3947bd13fdb00e9b21db151258c404c094b06675 (patch) | |
tree | 68d1e4074446e843f58a1994a676e0b3339a0ede /indra/llrender/llvertexbuffer.cpp | |
parent | 9a024172da94871716791174079c7f9f5eb23f45 (diff) | |
parent | 78e7ada94bc48a7e42f96fa2b716e8f9ff8bc580 (diff) |
Merge pull request #97 from secondlife/brad/DRTVWR-559
brad/drtvwr-559 mac shader and assert fixes
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index 11e2b6e5c4..9fb5eef3a2 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -1363,7 +1363,7 @@ void LLVertexBuffer::setBuffer() U32 data_mask = LLGLSLShader::sCurBoundShaderPtr->mAttributeMask; // this Vertex Buffer must provide all necessary attributes for currently bound shader - llassert(((~data_mask & mTypeMask) > 0) || (mTypeMask == data_mask)); + llassert((data_mask & mTypeMask) == data_mask); if (sGLRenderBuffer != mGLBuffer) { |