From 75aa185c0274caefbc750a1e62f352b9bc3fe509 Mon Sep 17 00:00:00 2001 From: cdozdil Date: Wed, 22 May 2024 22:50:19 +0300 Subject: [PATCH] fix for wrong upscaler name might crash opti --- OptiScaler/NVNGX_DLSS_Dx11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OptiScaler/NVNGX_DLSS_Dx11.cpp b/OptiScaler/NVNGX_DLSS_Dx11.cpp index d6ab141b..ffa139df 100644 --- a/OptiScaler/NVNGX_DLSS_Dx11.cpp +++ b/OptiScaler/NVNGX_DLSS_Dx11.cpp @@ -294,7 +294,7 @@ NVSDK_NGX_API NVSDK_NGX_Result NVSDK_NGX_D3D11_CreateFeature(ID3D11DeviceContext spdlog::info("NVSDK_NGX_D3D11_CreateFeature creating new FSR 2.1.2 with Dx12 feature"); Dx11Contexts[handleId] = std::make_unique(handleId, InParameters); } - else if (Config::Instance()->Dx11Upscaler.value_or("fsr22") == "fsr22") + else { spdlog::info("NVSDK_NGX_D3D11_CreateFeature creating new native FSR 2.2.1 feature"); Dx11Contexts[handleId] = std::make_unique(handleId, InParameters);