summaryrefslogtreecommitdiff
path: root/src/video/video_driver.hpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-17 14:49:45 +0100
committerPatric Stout <github@truebrain.nl>2021-02-19 10:43:15 +0100
commit5bfa0145057f2b67ed05d491abea82df4cc10d6b (patch)
tree21c9cf95878fae10f244834fc054e11f6784f94f /src/video/video_driver.hpp
parent25f6851ca184346297c1d953e9e649311a0dc083 (diff)
downloadopenttd-5bfa0145057f2b67ed05d491abea82df4cc10d6b.tar.xz
Codechange: track _realtime_tick more accurate
_realtime_tick was reset every time the diff was calculated. This means if it would trigger, say, every N.9 milliseconds, it would after two iterations already drift a millisecond. This adds up pretty quick.
Diffstat (limited to 'src/video/video_driver.hpp')
0 files changed, 0 insertions, 0 deletions