Skip to content
Snippets Groups Projects
Commit e848127f authored by andreykproductengine's avatar andreykproductengine
Browse files

MAINT-7228 Substituted assert with error

parent 149b2d88
No related branches found
No related tags found
No related merge requests found
...@@ -1065,7 +1065,14 @@ LLVertexBuffer::~LLVertexBuffer() ...@@ -1065,7 +1065,14 @@ LLVertexBuffer::~LLVertexBuffer()
sVertexCount -= mNumVerts; sVertexCount -= mNumVerts;
sIndexCount -= mNumIndices; sIndexCount -= mNumIndices;
llassert_always(!mMappedData && !mMappedIndexData); if (mMappedData)
{
LL_ERRS() << "Failed to clear vertex buffer's vertices" << LL_ENDL;
}
if (mMappedIndexData)
{
LL_ERRS() << "Failed to clear vertex buffer's indices" << LL_ENDL;
}
}; };
void LLVertexBuffer::placeFence() const void LLVertexBuffer::placeFence() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment