meshoptimizer: Sync with upstream commit f4c356d79

f4c356d79f
This commit is contained in:
Rémi Verschelde 2021-11-19 14:02:23 +01:00
parent 42f8bfaff0
commit 2410f5de03
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 178 additions and 36 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