Skip to content

Commit cc2d1a9

Browse files
committed
Use VK_PRESENT_MODE_IMMEDIATE_KHR (recommended by AMD)
(cherry picked from commit 9a64a16)
1 parent fbd47ff commit cc2d1a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Mocha.Host/Rendering/Platform/Vulkan/vulkanrendercontext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void VulkanSwapchain::CreateMainSwapchain( Size2D size )
4343

4444
vkb::Swapchain vkbSwapchain = swapchainBuilder.set_old_swapchain( m_swapchain )
4545
.set_desired_format( { VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR } )
46-
.set_desired_present_mode( VK_PRESENT_MODE_MAILBOX_KHR )
46+
.set_desired_present_mode( VK_PRESENT_MODE_IMMEDIATE_KHR )
4747
.set_desired_extent( size.x, size.y )
4848
.build()
4949
.value();

0 commit comments

Comments
 (0)