Skip to content

Commit 09a8f7a

Browse files
committed
vk: Use FIFO mode for vsync
- Avoids tearing and also hides some driver bugs causing fullscreen bugs with mailbox mode
1 parent 3bfa564 commit 09a8f7a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

rpcs3/Emu/RSX/VK/VKHelpers.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,11 +1885,7 @@ namespace vk
18851885
{
18861886
// List of preferred modes in decreasing desirability
18871887
// NOTE: Always picks "triple-buffered vsync" types if possible
1888-
if (g_cfg.video.vsync)
1889-
{
1890-
preferred_modes = { VK_PRESENT_MODE_MAILBOX_KHR };
1891-
}
1892-
else
1888+
if (!g_cfg.video.vsync)
18931889
{
18941890
preferred_modes = { VK_PRESENT_MODE_IMMEDIATE_KHR, VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_FIFO_RELAXED_KHR };
18951891
}

0 commit comments

Comments
 (0)