mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- also put the Windows system specific exit handlers into atexit's list
Again, these have no place in the game's own uninit code.
This commit is contained in:
parent
eae593b1f5
commit
9f15efc5f5
1 changed files with 2 additions and 2 deletions
|
@ -965,7 +965,7 @@ void DoMain (HINSTANCE hInstance)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
atterm (UnWTS);
|
atexit (UnWTS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -977,7 +977,7 @@ void DoMain (HINSTANCE hInstance)
|
||||||
WinHeight = cRect.bottom;
|
WinHeight = cRect.bottom;
|
||||||
|
|
||||||
CoInitialize (NULL);
|
CoInitialize (NULL);
|
||||||
atterm (UnCOM);
|
atexit (UnCOM);
|
||||||
|
|
||||||
C_InitConsole (((WinWidth / 8) + 2) * 8, (WinHeight / 12) * 8, false);
|
C_InitConsole (((WinWidth / 8) + 2) * 8, (WinHeight / 12) * 8, false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue