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.
This commit is contained in:
Patric Stout
2021-02-20 11:54:33 +01:00
committed by Patric Stout
parent 7996fadb91
commit 0e76d965f1
10 changed files with 112 additions and 303 deletions

View File

@@ -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;