diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-12-05 19:05:03 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-12-06 08:39:50 +0800 |
commit | 6b919c6237446f2134d1be15f14ed652de41eac4 (patch) | |
tree | 2947edcd635a3dc6739589a577d25c4c26436ca8 | |
parent | 135d87d0c52c9e7ec838656796a8c2371fb263c5 (diff) |
MESHOPTIMIZER_VERSION instead of LL_USESYSTEMLIBS
to handle Meshoptimizer API differences.
-rw-r--r-- | indra/llmeshoptimizer/llmeshoptimizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmeshoptimizer/llmeshoptimizer.cpp b/indra/llmeshoptimizer/llmeshoptimizer.cpp index ce2b9f99b1..f1c6506c5d 100644 --- a/indra/llmeshoptimizer/llmeshoptimizer.cpp +++ b/indra/llmeshoptimizer/llmeshoptimizer.cpp @@ -291,7 +291,7 @@ U64 LLMeshOptimizer::simplifyU32(U32 *destination, vertex_positions_stride, target_index_count, target_error, -#ifdef LL_USESYSTEMLIBS +#if MESHOPTIMIZER_VERSION >= 180 0, #endif result_error @@ -335,7 +335,7 @@ U64 LLMeshOptimizer::simplify(U16 *destination, vertex_positions_stride, target_index_count, target_error, -#ifdef LL_USESYSTEMLIBS +#if MESHOPTIMIZER_VERSION >= 180 0, #endif result_error |