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

Make screen_get_refresh_rate() respect iOS Low Power Mode #85026

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

ztc0611
Copy link
Contributor

@ztc0611 ztc0611 commented Nov 17, 2023

Fixes #84634.

iOS/iPadOS ramps down from 120hz to 60hz when on low power mode, and DisplayServer.screen_get_refresh_rate() didn't account for this.

@akien-mga akien-mga added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Dec 8, 2023
@YuriSizov YuriSizov merged commit abddb93 into godotengine:master Dec 8, 2023
15 checks passed
@YuriSizov
Copy link
Contributor

Thanks!

@YuriSizov YuriSizov removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Jan 25, 2024
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.2.2.

@akien-mga akien-mga changed the title Make screen_get_refresh_rate() respect iOS Low Power Mode Make screen_get_refresh_rate() respect iOS Low Power Mode May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DisplayServer.screen_get_refresh_rate() doesn't take iOS power saving settings into account
5 participants