Updated meshoptimizer.

This commit is contained in:
Бранимир Караџић
2022-10-11 19:54:30 -07:00
parent cc51fd8c38
commit 9bb2dbdb70
9 changed files with 97 additions and 43 deletions

View File

@@ -147,7 +147,7 @@ meshopt_OverdrawStatistics meshopt_analyzeOverdraw(const unsigned int* indices,
using namespace meshopt;
assert(index_count % 3 == 0);
assert(vertex_positions_stride > 0 && vertex_positions_stride <= 256);
assert(vertex_positions_stride >= 12 && vertex_positions_stride <= 256);
assert(vertex_positions_stride % sizeof(float) == 0);
meshopt_Allocator allocator;