Browse Source

fix Error C4703 MSVC/UWP (#92)

Cedric Guillemet 9 months ago
parent
commit
c863f8f364
1 changed files with 1 additions and 1 deletions
  1. 1 1
      3rdparty/nvtt/bc6h/zoh_utils.cpp

+ 1 - 1
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;