From 0197e2c1ca7cb74c2da21e0dd6c40ae51d9080d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 15 May 2020 23:37:26 -0700 Subject: [PATCH] Updated meshoptimizer. --- 3rdparty/meshoptimizer/src/simplifier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/meshoptimizer/src/simplifier.cpp b/3rdparty/meshoptimizer/src/simplifier.cpp index dd0ff9b07..e8d24f485 100644 --- a/3rdparty/meshoptimizer/src/simplifier.cpp +++ b/3rdparty/meshoptimizer/src/simplifier.cpp @@ -1160,7 +1160,7 @@ static float interpolate(float y, float x0, float y0, float x1, float y1, float } // namespace meshopt -#if TRACE +#ifndef NDEBUG unsigned char* meshopt_simplifyDebugKind = 0; unsigned int* meshopt_simplifyDebugLoop = 0; #endif @@ -1304,7 +1304,7 @@ size_t meshopt_simplify(unsigned int* destination, const unsigned int* indices, dumpLockedCollapses(result, result_count, vertex_kind); #endif -#if TRACE +#ifndef NDEBUG if (meshopt_simplifyDebugKind) memcpy(meshopt_simplifyDebugKind, vertex_kind, vertex_count);