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

Update iOS game display link to prefer high frame rates #71

Merged
merged 2 commits into from
Dec 8, 2021

Conversation

frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Dec 8, 2021

Updates the game view and display link to use the newly introduced CAFrameRateRanges with a high frame rate range selected (60 minimum, 120 maximum, 120 preferred), allowing iPhone 13 Pro and iPhone 13 Pro Max with the ProMotion display to reach up to 120 fps in game, as confirmed in ppy/osu#15721 (comment).

I've also removed the obsolete Run(int preferredFramesPerSecond) as it looks to be pretty unnecessary here.

@peppy peppy merged commit ac7a566 into ppy:master Dec 8, 2021
@frenzibyte frenzibyte deleted the ios-high-frame-rate branch December 8, 2021 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants