mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +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
|
||||
{
|
||||
atterm (UnWTS);
|
||||
atexit (UnWTS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -977,7 +977,7 @@ void DoMain (HINSTANCE hInstance)
|
|||
WinHeight = cRect.bottom;
|
||||
|
||||
CoInitialize (NULL);
|
||||
atterm (UnCOM);
|
||||
atexit (UnCOM);
|
||||
|
||||
C_InitConsole (((WinWidth / 8) + 2) * 8, (WinHeight / 12) * 8, false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue