Sync with upstream fix

master
Ansariel 2025-08-16 13:38:39 +02:00
parent 6f21013d89
commit 806b4b1f9d
1 changed files with 1 additions and 2 deletions

View File

@ -606,10 +606,9 @@ bool Asset::prep()
vertex_count[variant] += primitive.getVertexCount();
index_count[variant] += primitive.getIndexCount();
#ifdef SHOW_ASSERT
// all primitives of a given variant and material should all have the same attribute mask
llassert(attribute_mask == 0 || primitive.mAttributeMask == attribute_mask);
#ifdef SHOW_ASSERT
attribute_mask |= primitive.mAttributeMask;
#endif
}