Add: [SDL2] video driver parameter to put OpenTTD on a particular display on start. By default use the display where the mouse cursor is. (#8572)

This commit is contained in:
frosch
2021-01-14 23:29:29 +01:00
committed by GitHub
parent fa60c1f8b9
commit 0e62a398c7
2 changed files with 26 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ private:
uint32 last_cur_ticks;
uint32 next_tick;
int startup_display;
std::thread draw_thread;
std::unique_lock<std::recursive_mutex> draw_lock;
};