mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-12 22:03:49 +00:00
Merge branch 'sdl2' into sdl2-xcodeproj
This commit is contained in:
commit
dade42eb59
1 changed files with 5 additions and 0 deletions
|
@ -365,6 +365,11 @@ void IN_UpdateForKeydest (void)
|
|||
Key_ClearStates();
|
||||
#if !defined(USE_SDL2)
|
||||
SDL_EnableUNICODE(!gamekey);
|
||||
#else
|
||||
if (gamekey)
|
||||
SDL_StopTextInput();
|
||||
else
|
||||
SDL_StartTextInput();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue