mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-12 00:40:14 +00:00
vk: Use FIFO mode for vsync
- Avoids tearing and also hides some driver bugs causing fullscreen bugs with mailbox mode
This commit is contained in:
parent
3bfa564ef8
commit
09a8f7ae53
@ -1885,11 +1885,7 @@ public:
|
|||||||
{
|
{
|
||||||
// List of preferred modes in decreasing desirability
|
// List of preferred modes in decreasing desirability
|
||||||
// NOTE: Always picks "triple-buffered vsync" types if possible
|
// NOTE: Always picks "triple-buffered vsync" types if possible
|
||||||
if (g_cfg.video.vsync)
|
if (!g_cfg.video.vsync)
|
||||||
{
|
|
||||||
preferred_modes = { VK_PRESENT_MODE_MAILBOX_KHR };
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
preferred_modes = { VK_PRESENT_MODE_IMMEDIATE_KHR, VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_FIFO_RELAXED_KHR };
|
preferred_modes = { VK_PRESENT_MODE_IMMEDIATE_KHR, VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_FIFO_RELAXED_KHR };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user