Skip to content
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

Merge limitFPS and vSync options #7646

Merged
merged 2 commits into from
Jan 12, 2025
Merged

Merge limitFPS and vSync options #7646

merged 2 commits into from
Jan 12, 2025

Conversation

AJenbo
Copy link
Member

@AJenbo AJenbo commented Jan 12, 2025

Fixes #7170

This merges vSync and limitFPS under a new settings that uses an enum, and hides the option from Android users.

  • They should never be used at the same time
  • Android will silently enable vSync without us noticing
  • Having limitFPS on devices that report a lower frequency then the actual display will cause Android to think the application is lagging and kill it after a few minutes.

The reason not to carry over the setting from previous version is that Android users might have set a bad combination, both were on by default and they changed vsync to off they would likely experience the mentioned crash. So to fix any potentially bad settings we reset it to the new default of vsync only.

@AJenbo AJenbo force-pushed the fps branch 2 times, most recently from 68131d8 to fecb7c2 Compare January 12, 2025 13:20
Source/options.cpp Outdated Show resolved Hide resolved
Co-authored-by: Gleb Mazovetskiy <[email protected]>
@AJenbo AJenbo merged commit 49785d5 into 1.5 Jan 12, 2025
21 checks passed
@AJenbo AJenbo deleted the fps branch January 12, 2025 14:28
AJenbo added a commit that referenced this pull request Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants