Use generated createParams for on the fly upscaler changes

This commit is contained in:
cdozdil
2025-10-13 17:58:04 +03:00
parent 30b158df9b
commit fdfb76da2b
3 changed files with 3 additions and 3 deletions
@@ -160,7 +160,7 @@ bool FeatureProvider_Dx11::ChangeFeature(std::string upscalerName, ID3D11Device*
contextData->feature.reset();
if (!GetFeature(State::Instance().newBackend, handleId, parameters, &contextData->feature))
if (!GetFeature(State::Instance().newBackend, handleId, contextData->createParams, &contextData->feature))
{
LOG_ERROR("Upscaler can't created");
return false;
@@ -166,7 +166,7 @@ bool FeatureProvider_Dx12::ChangeFeature(std::string upscalerName, ID3D12Device*
contextData->feature.reset();
if (!GetFeature(State::Instance().newBackend, handleId, parameters, &contextData->feature))
if (!GetFeature(State::Instance().newBackend, handleId, contextData->createParams, &contextData->feature))
{
LOG_ERROR("Upscaler can't created");
return false;
+1 -1
View File
@@ -147,7 +147,7 @@ bool FeatureProvider_Vk::ChangeFeature(std::string upscalerName, VkInstance inst
contextData->feature.reset();
if (!GetFeature(State::Instance().newBackend, handleId, parameters, &contextData->feature))
if (!GetFeature(State::Instance().newBackend, handleId, contextData->createParams, &contextData->feature))
{
LOG_ERROR("Upscaler can't created");
return false;