fix VEC3 16 bit indices support (remove false-positive assert)

This commit is contained in:
MihailRis 2024-11-01 00:25:00 +03:00
parent e0624b11d0
commit 673f235ff9

View File

@ -125,7 +125,6 @@ static model::Mesh load_mesh(
if (flags == FLAG_ZLIB) {
throw std::runtime_error("compression is not supported yet");
}
assert(flags == 0);
std::vector<VertexAttribute> attributes;
for (int i = 0; i < attributeCount; i++) {
attributes.push_back(load_attribute(reader));