From c863f8f36426a01a5c407e420f5fda40148d3b15 Mon Sep 17 00:00:00 2001 From: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com> Date: Mon, 3 Mar 2025 22:24:22 +0100 Subject: [PATCH] fix Error C4703 MSVC/UWP (#92) --- 3rdparty/nvtt/bc6h/zoh_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/nvtt/bc6h/zoh_utils.cpp b/3rdparty/nvtt/bc6h/zoh_utils.cpp index fde3200..1e64e28 100644 --- a/3rdparty/nvtt/bc6h/zoh_utils.cpp +++ b/3rdparty/nvtt/bc6h/zoh_utils.cpp @@ -37,7 +37,7 @@ int Utils::lerp(int a, int b, int i, int denom) case 3: denom *= 5; i *= 5; // fall through to case 15 case 15: weights = denom15_weights_64; break; case 7: weights = denom7_weights_64; break; - default: nvDebugCheck(0); + default: nvUnreachable(); } return (a*weights[denom-i] +b*weights[i] + round) >> shift;