mirror of
https://github.com/openharmony/third_party_meshoptimizer.git
synced 2026-07-19 20:03:59 -04:00
clusterizer: Fix MSVC warning
This commit is contained in:
+1
-1
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user