mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 00:20:46 +00:00
Call SDL_Start/StopTextInput
This commit is contained in:
parent
af4efc022c
commit
89f22bc5ed
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