-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vsync doesn't properly match refresh rate #17
Comments
Vsync in opengl works as follows: if it is on then it cap the framerate based on monitor refresh rate, if is set to smart (adaptive) then the vsync is closing if the framerate is lower than the monitor's refresh rate. |
I updated it, and now the framerate is using the monitor refresh rates instead of the original two static values. Hope that makes it better than before |
This seems like an improvement. Now I assume someone with a 144 Hz monitor could select it via the "Frame Rate" option.
|
The refresh rate and the frame rate are both now a singular cvar. I won't change the name since it still have the same meaning, and sadly you can't set them up indepenently. |
Okay! Thanks |
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Vsync should cap the frame rate to refresh rate correctly.
Actual behavior
Vsync caps the frame rate at 60 FPS (half the refresh rate)
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: