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

Add support for floating point rates in SDL_HINT_MAIN_CALLBACK_RATE #12516

Open
slouken opened this issue Mar 10, 2025 · 1 comment
Open

Add support for floating point rates in SDL_HINT_MAIN_CALLBACK_RATE #12516

slouken opened this issue Mar 10, 2025 · 1 comment
Milestone

Comments

@slouken
Copy link
Collaborator

slouken commented Mar 10, 2025

A common rate someone might want is 59.94Hz, which can't be expressed with the current implementation.

@slouken slouken added this to the 3.4.0 milestone Mar 10, 2025
@playmer
Copy link
Contributor

playmer commented Mar 10, 2025

Was this maybe due to emscripten_set_main_loop only supporting integer callback rates? (Though currently the emscripten backend doesn't take advantage of this)

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

No branches or pull requests

2 participants