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