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

[HTML5] Fix target_fps when window loses focus. #48543

Merged
merged 2 commits into from
May 8, 2021

Commits on May 7, 2021

  1. Configuration menu
    Copy the full SHA
    9a98c09 View commit details
    Browse the repository at this point in the history
  2. [HTML5] Fix target_fps when window loses focus.

    We don't get updates when the window is unfocused/minimized, so we must
    detect the situation where the counted ticks start drifting away
    resulting in more frames drawn than needed.
    This commit adds a check to ensure that the target ticks do not drift
    away more than one second.
    Faless committed May 7, 2021
    Configuration menu
    Copy the full SHA
    a1fe6d6 View commit details
    Browse the repository at this point in the history