diff --git a/CyberXeSS/NVNGX_DLSS_Dx11.cpp b/CyberXeSS/NVNGX_DLSS_Dx11.cpp index c80c2a1e..a1875380 100644 --- a/CyberXeSS/NVNGX_DLSS_Dx11.cpp +++ b/CyberXeSS/NVNGX_DLSS_Dx11.cpp @@ -201,14 +201,14 @@ NVSDK_NGX_API NVSDK_NGX_Result NVSDK_NGX_D3D11_CreateFeature(ID3D11DeviceContext // Create feature auto handleId = IFeature::GetNextHandleId(); - if (Config::Instance()->Dx11Upscaler.value_or("fsr22") == "fsr22") - Dx11Contexts[handleId] = std::make_unique(handleId, InParameters); + if (Config::Instance()->Dx11Upscaler.value_or("fsr22") == "xess") + Dx11Contexts[handleId] = std::make_unique(handleId, InParameters); else if (Config::Instance()->Dx11Upscaler.value_or("fsr22") == "fsr22_12") Dx11Contexts[handleId] = std::make_unique(handleId, InParameters); else if (Config::Instance()->Dx11Upscaler.value_or("fsr22") == "fsr21_12") Dx11Contexts[handleId] = std::make_unique(handleId, InParameters); else - Dx11Contexts[handleId] = std::make_unique(handleId, InParameters); + Dx11Contexts[handleId] = std::make_unique(handleId, InParameters); auto deviceContext = Dx11Contexts[handleId].get(); *OutHandle = deviceContext->Handle();