mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
SDL3: Moved SDL_StartTextInput() to glimp_sdl3.c
This commit is contained in:
parent
5ace09caac
commit
2c212ae0b2
2 changed files with 3 additions and 5 deletions
|
@ -2345,11 +2345,6 @@ IN_Init(void)
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
// needs an SDL_Window pointer now??
|
||||
SDL_StartTextInput();
|
||||
#endif
|
||||
|
||||
IN_Controller_Init(false);
|
||||
|
||||
Com_Printf("------------------------------------\n\n");
|
||||
|
|
|
@ -131,6 +131,9 @@ CreateSDLWindow(int flags, int fullscreen, int w, int h)
|
|||
|
||||
if (window)
|
||||
{
|
||||
/* enable text input */
|
||||
SDL_StartTextInput(window);
|
||||
|
||||
/* save current display as default */
|
||||
if ((last_display = SDL_GetDisplayForWindow(window)) == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue