diff options
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VulkanContext.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp index ead13df547..40e5429956 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp +++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp @@ -628,7 +628,8 @@ bool VulkanContext::CreateDevice(VkSurfaceKHR surface, bool enable_validation_la }}; device_info.queueCreateInfoCount = 1; - if (m_graphics_queue_family_index != m_present_queue_family_index) + if (m_graphics_queue_family_index != m_present_queue_family_index && + m_present_queue_family_index != queue_family_count) { device_info.queueCreateInfoCount = 2; } |
