diff options
author | Brad Linden <brad@lindenlab.com> | 2023-02-27 16:39:11 -0800 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2023-02-27 17:35:24 -0800 |
commit | 78e7ada94bc48a7e42f96fa2b716e8f9ff8bc580 (patch) | |
tree | 47999adee59856fb11a9c28ae0bf267ecb26cf6d /indra/llrender | |
parent | 46b2c0660a091f5b3596084a71f63c8145bfac68 (diff) |
Mac shader and assertion fixes for DRTVWR-559
Diffstat (limited to 'indra/llrender')
-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) { |