keyboard: Fix comment regarding implicit calls to SDL_StartTextInput()

It was always done inside SDL_VideoInit().

(cherry picked from commit 92cadaf917)
This commit is contained in:
Cameron Gutman authored and Sam Lantinga committed 2025-02-25 08:08:55 -08:00
1 parent 51e20f1666
commit 9be8c2a899
1 file changed
+1 -1
+1 -1
View File
@@ -255,7 +255,7 @@ extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromName(const char *name);
* On some platforms using this function activates the screen keyboard.
*
* On desktop platforms, SDL_StartTextInput() is implicitly called on SDL
* window creation which will cause events SDL_TextInputEvent and
* video subsystem initialization which will cause SDL_TextInputEvent and
* SDL_TextEditingEvent to begin emitting.
*
* \since This function is available since SDL 2.0.0.