Merge branch 'sdl2' into sdl2-vs2013proj

This commit is contained in:
Eric Wasylishen 2014-06-11 23:38:19 -06:00
commit 05c5df2919

View file

@ -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
} }
} }