diff options
author | Patric Stout <truebrain@openttd.org> | 2021-02-20 11:54:33 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-02-20 17:08:44 +0100 |
commit | 0e76d965f1d90af6318586ab5f5b7c6a87989c02 (patch) | |
tree | 8b27947809768d7be2b74661f80f7d53d79fe9e3 /src/video/sdl2_v.h | |
parent | 7996fadb91b6ff9a8ca17791d03677ddb438fc07 (diff) | |
download | openttd-0e76d965f1d90af6318586ab5f5b7c6a87989c02.tar.xz |
Codechange: deduplicate tick-handlers of all video drivers
They were all identical, so better put this in a single place
hoping it is less likely to break.
Diffstat (limited to 'src/video/sdl2_v.h')
-rw-r--r-- | src/video/sdl2_v.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video/sdl2_v.h b/src/video/sdl2_v.h index 4f1f286c9..d96e321f6 100644 --- a/src/video/sdl2_v.h +++ b/src/video/sdl2_v.h @@ -67,11 +67,6 @@ private: */ bool edit_box_focused; - std::chrono::steady_clock::time_point cur_ticks; - std::chrono::steady_clock::time_point last_realtime_tick; - std::chrono::steady_clock::time_point next_game_tick; - std::chrono::steady_clock::time_point next_draw_tick; - int startup_display; std::thread draw_thread; std::unique_lock<std::recursive_mutex> draw_lock; |