mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 12:21:39 +00:00
Update video.cpp
This commit is contained in:
parent
66e1bda8cd
commit
991b8ae2cf
1 changed files with 2 additions and 0 deletions
|
|
@ -1514,7 +1514,9 @@ bool Video::CreateHostDevice(const char *sdlVideoDriver)
|
||||||
g_device = g_interface->createDevice();
|
g_device = g_interface->createDevice();
|
||||||
if (g_device != nullptr)
|
if (g_device != nullptr)
|
||||||
{
|
{
|
||||||
|
#ifdef UNLEASHED_RECOMP_D3D12
|
||||||
g_vulkan = (interfaceFunction == CreateVulkanInterfaceWrapper);
|
g_vulkan = (interfaceFunction == CreateVulkanInterfaceWrapper);
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue