mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-03 02:00:05 +00:00
VulkanDevice: Fix manual device selection
This commit is contained in:
parent
1c54047cd1
commit
d885446672
@ -2056,7 +2056,7 @@ bool VulkanDevice::CreateDeviceAndMainSwapChain(std::string_view adapter, Featur
|
||||
}
|
||||
}
|
||||
|
||||
if (m_physical_device == VK_NULL_HANDLE)
|
||||
if (physical_device == VK_NULL_HANDLE)
|
||||
{
|
||||
WARNING_LOG("Requested GPU '{}' not found, using first ({})", adapter, gpus[0].second.name);
|
||||
physical_device = gpus[0].first;
|
||||
|
Loading…
x
Reference in New Issue
Block a user