mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-25 23:56:48 +00:00
Change check at InitFFX
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
static bool InitFfxDx12(HMODULE module = nullptr)
|
||||
{
|
||||
// if dll already loaded
|
||||
if (_dllDx12 != nullptr || _D3D12_CreateContext != nullptr)
|
||||
if (_dllDx12 != nullptr && _D3D12_CreateContext != nullptr)
|
||||
return true;
|
||||
|
||||
spdlog::info("");
|
||||
@@ -183,7 +183,7 @@ public:
|
||||
static bool InitFfxVk(HMODULE module = nullptr)
|
||||
{
|
||||
// if dll already loaded
|
||||
if (_dllVk != nullptr || _VULKAN_CreateContext != nullptr)
|
||||
if (_dllVk != nullptr && _VULKAN_CreateContext != nullptr)
|
||||
return true;
|
||||
|
||||
spdlog::info("");
|
||||
|
||||
Reference in New Issue
Block a user