This commit is contained in:
georgemoralis 2023-09-19 17:13:37 +03:00
parent b68f018fad
commit 48ae687191

View file

@ -118,7 +118,12 @@ void Graphics::Vulkan::vulkanFindCompatiblePhysicalDevice(VkInstance instance, V
auto qs = vulkanFindQueues(device, surface);
vulkanGetSurfaceCapabilities(device, surface, out_capabilities);
found_best_device = device;
found_best_queues = qs;
}
*out_device = found_best_device;
*out_queues = found_best_queues;
}
Emulator::VulkanQueues Graphics::Vulkan::vulkanFindQueues(VkPhysicalDevice device, VkSurfaceKHR surface) {