Updated meshoptimizer.

This commit is contained in:
Бранимир Караџић 2021-10-31 20:36:23 -07:00
parent 7e0cccc269
commit 77b1af0e8c
2 changed files with 4 additions and 1 deletions

View File

@ -77,6 +77,8 @@
#endif
#ifdef SIMD_WASM
#undef __DEPRECATED
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#include <wasm_simd128.h>
#endif
@ -1028,7 +1030,7 @@ static unsigned int getCpuFeatures()
return cpuinfo[2];
}
unsigned int cpuid = getCpuFeatures();
static unsigned int cpuid = getCpuFeatures();
#endif
} // namespace meshopt

View File

@ -52,6 +52,7 @@
#endif
#ifdef SIMD_WASM
#undef __DEPRECATED
#include <wasm_simd128.h>
#endif