Hi, sorry if this is a really obvious question, but I'm struggling with finding out how to enable vsync with the vulkan backend.
Hi @expenses! I believe if you specify PresentMode::Vsync in your SwapChainDescriptor, the swap chain will use a double-buffer and synchronise access to the swap chain textures with the display refresh rate. It's worth noting that this mode has been renamed to Fifo on master I believe and a couple of other modes have been added too. Hope this helps!
@mitchmindtree Ah, great, thanks!
Most helpful comment
Hi @expenses! I believe if you specify
PresentMode::Vsyncin yourSwapChainDescriptor, the swap chain will use a double-buffer and synchronise access to the swap chain textures with the display refresh rate. It's worth noting that this mode has been renamed toFifoon master I believe and a couple of other modes have been added too. Hope this helps!