vulkan: when vsync is off prefer immediate instead of mailbox mode, for now.

Fixes #1852. This might be reevaluated in the future.
This commit is contained in:
Sasha Szpakowski
2022-12-04 17:51:11 -04:00
parent 4136da52e9
commit d70514b2d1
2 changed files with 12 additions and 7 deletions
+1
View File
@@ -1119,6 +1119,7 @@ void Window::setVSync(int vsync)
}
#ifdef LOVE_GRAPHICS_VULKAN
// TODO: this doesn't update the swap-chain, but it should.
love::graphics::vulkan::Vulkan::setVsync(vsync);
#endif