Sync with upstream fix
parent
6f21013d89
commit
806b4b1f9d
|
|
@ -606,10 +606,9 @@ bool Asset::prep()
|
||||||
|
|
||||||
vertex_count[variant] += primitive.getVertexCount();
|
vertex_count[variant] += primitive.getVertexCount();
|
||||||
index_count[variant] += primitive.getIndexCount();
|
index_count[variant] += primitive.getIndexCount();
|
||||||
#ifdef SHOW_ASSERT
|
|
||||||
// all primitives of a given variant and material should all have the same attribute mask
|
// all primitives of a given variant and material should all have the same attribute mask
|
||||||
llassert(attribute_mask == 0 || primitive.mAttributeMask == attribute_mask);
|
llassert(attribute_mask == 0 || primitive.mAttributeMask == attribute_mask);
|
||||||
|
#ifdef SHOW_ASSERT
|
||||||
attribute_mask |= primitive.mAttributeMask;
|
attribute_mask |= primitive.mAttributeMask;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue