Vulkan: Fix inverted logic.

This commit is contained in:
BearOso 2024-06-13 15:56:04 -05:00
parent 5c78493f4e
commit 3980a9d6d4
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ bool Context::init_device(int preferred_device)
physical_device = device_list[preferred_device];
}
if (physical_device != nullptr)
if (physical_device == nullptr)
{
for (auto &device : device_list)
{