clusterizer: Fix MSVC warning

This commit is contained in:
Arseny Kapoulkine
2024-03-30 08:50:27 -07:00
parent 434c28e617
commit bd95292154
+1 -1
View File
@@ -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++;
}