Skip to content

Commit b1c1a73

Browse files
committed
use upstream header file for meshoptimizer on linux
1 parent 1f34d97 commit b1c1a73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runtime/Geometry/GeometryProcessing.h

+4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424
//= INCLUDES ===========================
2525
#include <vector>
2626
#include "../RHI/RHI_Vertex.h"
27+
#ifdef _WIN32
2728
SP_WARNINGS_OFF
2829
#include "meshoptimizer/meshoptimizer.h"
2930
SP_WARNINGS_ON
31+
#else
32+
#include "meshoptimizer.h"
33+
#endif
3034
//======================================
3135

3236
namespace spartan::geometry_processing

0 commit comments

Comments
 (0)