Update video.cpp

This commit is contained in:
Darío 2025-01-31 08:46:46 -03:00 committed by GitHub
parent 66e1bda8cd
commit 991b8ae2cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
} }
} }