mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 10:14:57 -05:00
SDL_ExitProcess() was ignoring exit code parameter.
This commit is contained in:
@@ -255,9 +255,9 @@ static void SDL_GenerateAssertionReport(void)
|
||||
static void SDL_ExitProcess(int exitcode)
|
||||
{
|
||||
#ifdef __WIN32__
|
||||
ExitProcess(42);
|
||||
ExitProcess(exitcode);
|
||||
#else
|
||||
_exit(42);
|
||||
_exit(exitcode);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user