parent
42f8bfaff0
commit
2410f5de03
6 changed files with 178 additions and 36 deletions
4
thirdparty/meshoptimizer/vertexcodec.cpp
vendored
4
thirdparty/meshoptimizer/vertexcodec.cpp
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue