mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 01:53:47 +00:00
Allow return status to be specified using quitWithStatus.
This commit is contained in:
parent
d08e594316
commit
9f47032522
13 changed files with 52 additions and 18 deletions
|
|
@ -450,7 +450,7 @@ static bool _dispatch(HWND hWnd,UINT message,WPARAM wParam,WPARAM lParam)
|
|||
// Quit indicates that we're not going to receive anymore Win32 messages.
|
||||
// Therefore, it's appropriate to flag our event loop for exit as well,
|
||||
// since we won't be getting any more messages.
|
||||
Process::requestShutdown();
|
||||
Process::requestShutdown((S32)wParam);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue