diff options
| author | JMC47 <JMC4789@gmail.com> | 2022-09-30 20:15:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-30 20:15:25 -0400 |
| commit | c196c47e8119de714124d0720f0aead7d9b3cca6 (patch) | |
| tree | 07792d1b7f486fc8a2ce0b62976793132ee77fd3 /Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | |
| parent | 68eda7f8877a6ad3411c7db3656affbc4c2ef620 (diff) | |
| parent | e5fb9c9adfcd167145886aa68aa62bc684cacb9c (diff) | |
Merge pull request #11090 from K0bin/submit-rework
Vulkan: Raise number of command buffers
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VulkanContext.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp index 5b970cc9b1..bc9cc1169b 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp +++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp @@ -223,7 +223,10 @@ bool VulkanContext::SelectInstanceExtensions(std::vector<const char*>* extension WARN_LOG_FMT(VIDEO, "Vulkan: Debug report requested, but extension is not available."); AddExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, false); - AddExtension(VK_KHR_GET_SURFACE_CAPABILITIES_2_EXTENSION_NAME, false); + if (wstype != WindowSystemType::Headless) + { + AddExtension(VK_KHR_GET_SURFACE_CAPABILITIES_2_EXTENSION_NAME, false); + } if (AddExtension(VK_EXT_DEBUG_UTILS_EXTENSION_NAME, false)) { |
