SDL3: Moved SDL_StartTextInput() to glimp_sdl3.c

This commit is contained in:
erysdren 2024-08-21 15:39:58 -05:00 committed by Yamagi
parent 5ace09caac
commit 2c212ae0b2
2 changed files with 3 additions and 5 deletions

View file

@ -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");

View file

@ -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)
{