fixing sdl1.2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4603 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
48330c38c9
commit
0d4128ff78
1 changed files with 2 additions and 0 deletions
|
@ -612,9 +612,11 @@ void Sys_SendKeyEvents(void)
|
|||
IN_KeyEvent(event.button.which, event.button.state, tbl_sdltoquakemouse[event.button.button-1], 0);
|
||||
break;
|
||||
|
||||
#if SDL_MAJOR_VERSION >= 2
|
||||
case SDL_APP_TERMINATING:
|
||||
Cbuf_AddText("quit force\n", RESTRICT_LOCAL);
|
||||
break;
|
||||
#endif
|
||||
case SDL_QUIT:
|
||||
Cbuf_AddText("quit\n", RESTRICT_LOCAL);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue