1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00
Files
godot/platform/javascript
Fabio Alessandrelli 0a7193c5f4 [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.

(cherry picked from commit a1fe6d6899)
2021-05-09 16:28:22 +02:00
..
2021-01-13 16:17:06 +01:00
2021-04-06 12:56:45 +02:00
2021-01-04 17:01:42 -06:00
2021-02-18 11:58:08 +01:00
2021-02-18 11:58:08 +01:00
2021-04-06 12:56:45 +02:00
2021-02-26 15:35:45 +01:00
2021-02-26 15:35:45 +01:00