summaryrefslogtreecommitdiff
path: root/CREDITS.md
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-17 14:46:19 +0100
committerPatric Stout <github@truebrain.nl>2021-02-19 10:43:15 +0100
commit25f6851ca184346297c1d953e9e649311a0dc083 (patch)
tree5fa298bd14e8c92eefa69d05ec69cf37f90fbd59 /CREDITS.md
parentd437445c67bb76713614ae5a4242168c891b9978 (diff)
downloadopenttd-25f6851ca184346297c1d953e9e649311a0dc083.tar.xz
Codechange: switch all video drivers to std::chrono for keeping time
On all OSes we tested the std::chrono::steady_clock is of a high enough resolution to do millisecond measurements, which is all we need. By accident, this fixes a Win32 driver bug, where we would never hit our targets, as the resolution of the clock was too low to do accurate millisecond measurements with (it was ~16ms resolution instead).
Diffstat (limited to 'CREDITS.md')
0 files changed, 0 insertions, 0 deletions