godot/platform
Fabio Alessandrelli 6c1c2ed414
[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 17:14:36 +02:00
..
android Android: Remove non-functional native video OS methods 2021-05-07 16:42:17 +02:00
iphone Add physical_scancode (keyboard layout independent keycodes) to InputEventKey and InputMap. 2021-05-06 23:19:45 +03:00
javascript [HTML5] Fix target_fps when window loses focus. 2021-05-09 17:14:36 +02:00
osx Add physical_scancode (keyboard layout independent keycodes) to InputEventKey and InputMap. 2021-05-06 23:19:45 +03:00
server Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
uwp Add physical_scancode (keyboard layout independent keycodes) to InputEventKey and InputMap. 2021-05-06 23:19:45 +03:00
windows Add physical_scancode (keyboard layout independent keycodes) to InputEventKey and InputMap. 2021-05-06 23:19:45 +03:00
x11 Add physical_scancode (keyboard layout independent keycodes) to InputEventKey and InputMap. 2021-05-06 23:19:45 +03:00
register_platform_apis.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00