We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1675b5 + 028ffdc commit 1e480b3Copy full SHA for 1e480b3
src/vsg/vk/PhysicalDevice.cpp
@@ -46,7 +46,7 @@ int PhysicalDevice::getQueueFamily(VkQueueFlags queueFlags) const
46
return i;
47
}
48
49
- bestFamily = i;
+ if (bestFamily < 0) bestFamily = i;
50
51
52
0 commit comments