You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on Win 11 and I see that VSync is permanenty enabled in windowed mode in both DX11 and DX12 backends. It would be great to enable vsync off feature, especially for games that use the popular borderless fulscreen mode.
I can confirm that adding those swapchain and present flags works correctly and now vsync can be toggled in windowed mode. I thought about making a pull request, but I'm not sure where to initialize the tearing capability flag and where to store it so that it can be accessed in both swapchain init and present functions.
The text was updated successfully, but these errors were encountered:
The code in the pull request looks exactly how I tested it. But according to the article I found, in production you should also check for the capability flag. Also, I don't think those flags should be used when in fullscreen mode, but I'm not 100% sure.
I'm on Win 11 and I see that VSync is permanenty enabled in windowed mode in both DX11 and DX12 backends. It would be great to enable vsync off feature, especially for games that use the popular borderless fulscreen mode.
I found this article describing how to enable it: https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/variable-refresh-rate-displays
I can confirm that adding those swapchain and present flags works correctly and now vsync can be toggled in windowed mode. I thought about making a pull request, but I'm not sure where to initialize the tearing capability flag and where to store it so that it can be accessed in both swapchain init and present functions.
The text was updated successfully, but these errors were encountered: