Windows: Call SetThreadStackGuarantee for all threads, not just main thread

This commit is contained in:
Jonathan G Rennison
2021-03-12 17:30:40 +00:00
parent 909e343f40
commit f53697ce76
6 changed files with 35 additions and 6 deletions

View File

@@ -685,6 +685,7 @@ static const OptionData _options[] = {
int openttd_main(int argc, char *argv[])
{
SetSelfAsMainThread();
PerThreadSetup();
std::string musicdriver;
std::string sounddriver;
std::string videodriver;