From 9970a5b8caa9f9e228a0daa3850c6f7d64785ac0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 16 Feb 2025 10:42:58 -0800
Subject: [PATCH] Fixed enabling text input at startup
---
src/sdl2_compat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index 4aa9165..aaae481 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -7949,7 +7949,7 @@ SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags)
}
#if !defined(SDL_PLATFORM_IOS) && !defined(SDL_PLATFORM_ANDROID) // (and maybe others...?)
- SDL3_StartTextInput(window);
+ SDL_StartTextInput();
#endif
return window;