misc
This commit is contained in:
parent
b68f018fad
commit
48ae687191
|
@ -118,7 +118,12 @@ void Graphics::Vulkan::vulkanFindCompatiblePhysicalDevice(VkInstance instance, V
|
||||||
auto qs = vulkanFindQueues(device, surface);
|
auto qs = vulkanFindQueues(device, surface);
|
||||||
|
|
||||||
vulkanGetSurfaceCapabilities(device, surface, out_capabilities);
|
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) {
|
Emulator::VulkanQueues Graphics::Vulkan::vulkanFindQueues(VkPhysicalDevice device, VkSurfaceKHR surface) {
|
||||||
|
|
Loading…
Reference in New Issue