Skip to content

Commit

Permalink
size_t in gltf loadmesh
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Feb 19, 2025
1 parent 16e1927 commit 9e29b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/model/gltf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ bool gltf::gltfmeshgroup::loadmesh(const char *filename, float, part &p)
p.initskins(notexture, notexture, meshes.size());

}
for(uint i = 0; i < meshes.size(); i++)
for(size_t i = 0; i < meshes.size(); i++)
{
gltfmesh &m = *static_cast<gltfmesh *>(meshes[i]);
m.buildnorms();
Expand Down

0 comments on commit 9e29b21

Please sign in to comment.