diff options
Diffstat (limited to 'gnu/packages/patches/libretro-dolphin-emu-vulkan-headers.patch')
-rw-r--r-- | gnu/packages/patches/libretro-dolphin-emu-vulkan-headers.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/libretro-dolphin-emu-vulkan-headers.patch b/gnu/packages/patches/libretro-dolphin-emu-vulkan-headers.patch new file mode 100644 index 0000000000..9453f60688 --- /dev/null +++ b/gnu/packages/patches/libretro-dolphin-emu-vulkan-headers.patch @@ -0,0 +1,16 @@ +Partial backport from dolphin commit +8e3dbe9671afa631e7a64496f5bfcb2a8206f152 ("Vulkan: update Vulkan headers to v1.3.204.") + +diff --git a/Source/Core/VideoBackends/Vulkan/SwapChain.h b/Source/Core/VideoBackends/Vulkan/SwapChain.h +index 0077a93ec1..d83ee57051 100644 +--- a/Source/Core/VideoBackends/Vulkan/SwapChain.h ++++ b/Source/Core/VideoBackends/Vulkan/SwapChain.h +@@ -94,7 +94,7 @@ private: + WindowSystemInfo m_wsi; + VkSurfaceKHR m_surface = VK_NULL_HANDLE; + VkSurfaceFormatKHR m_surface_format = {}; +- VkPresentModeKHR m_present_mode = VK_PRESENT_MODE_RANGE_SIZE_KHR; ++ VkPresentModeKHR m_present_mode = VK_PRESENT_MODE_IMMEDIATE_KHR; + AbstractTextureFormat m_texture_format = AbstractTextureFormat::Undefined; + bool m_vsync_enabled = false; + bool m_fullscreen_supported = false; |