fix VEC3 16 bit indices support (remove false-positive assert)
This commit is contained in:
@@ -125,7 +125,6 @@ static model::Mesh load_mesh(
|
|||||||
if (flags == FLAG_ZLIB) {
|
if (flags == FLAG_ZLIB) {
|
||||||
throw std::runtime_error("compression is not supported yet");
|
throw std::runtime_error("compression is not supported yet");
|
||||||
}
|
}
|
||||||
assert(flags == 0);
|
|
||||||
std::vector<VertexAttribute> attributes;
|
std::vector<VertexAttribute> attributes;
|
||||||
for (int i = 0; i < attributeCount; i++) {
|
for (int i = 0; i < attributeCount; i++) {
|
||||||
attributes.push_back(load_attribute(reader));
|
attributes.push_back(load_attribute(reader));
|
||||||
|
|||||||
Reference in New Issue
Block a user