Skip to content

Commit

Permalink
clusterizer: Fix MSVC warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zeux committed Mar 30, 2024
1 parent 02c0a05 commit 5b3456d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clusterizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ void meshopt_optimizeMeshlet(unsigned int* meshlet_vertices, unsigned char* mesh

if (r == 0xff)
{
r = unsigned(vertex_offset);
r = (unsigned char)(vertex_offset);
newv[vertex_offset] = vertices[indices[i]];
vertex_offset++;
}
Expand Down

0 comments on commit 5b3456d

Please sign in to comment.