Updated meshoptimizer.
This commit is contained in:
parent
7e0cccc269
commit
77b1af0e8c
4
3rdparty/meshoptimizer/src/vertexcodec.cpp
vendored
4
3rdparty/meshoptimizer/src/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
|
||||
|
1
3rdparty/meshoptimizer/src/vertexfilter.cpp
vendored
1
3rdparty/meshoptimizer/src/vertexfilter.cpp
vendored
@ -52,6 +52,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef SIMD_WASM
|
||||
#undef __DEPRECATED
|
||||
#include <wasm_simd128.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user