mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-19 16:51:53 +00:00
Emscripten: cancel main loop in I_Quit()
This commit is contained in:
parent
66be8e8f28
commit
337de68c50
1 changed files with 2 additions and 2 deletions
|
@ -2528,10 +2528,10 @@ void I_Quit(void)
|
|||
death:
|
||||
W_Shutdown();
|
||||
#ifdef __EMSCRIPTEN__
|
||||
emscripten_cancel_main_loop();
|
||||
emscripten_force_exit(0);
|
||||
#else
|
||||
exit(0);
|
||||
#endif
|
||||
exit(0);
|
||||
}
|
||||
|
||||
void I_WaitVBL(INT32 count)
|
||||
|
|
Loading…
Reference in a new issue