diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-07 14:06:46 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-05-07 21:51:14 +0200 |
commit | a1fe6d6899c5ed4cf13c16f9d6bcd64958ab8254 (patch) | |
tree | 7fb7f62fe237d3b66f68e8d9f968cd1339022143 /drivers/unix/file_access_unix.h | |
parent | 9a98c09bb2681765160cc9ddcbd4eea37511eec2 (diff) |
[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.
Diffstat (limited to 'drivers/unix/file_access_unix.h')
0 files changed, 0 insertions, 0 deletions