update SDL3 to 3.4.10.

This commit is contained in:
Sasha Szpakowski
2026-06-02 00:18:17 -03:00
parent 43fe5f52f1
commit c4192fe9ba
1594 changed files with 100926 additions and 191270 deletions
+8 -2
View File
@@ -1,5 +1,5 @@
/*
Copyright (C) 1997-2025 Sam Lantinga <slouken@libsdl.org>
Copyright (C) 1997-2026 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -434,7 +434,7 @@ static void loop(void)
}
/* Slow down framerate */
SDL_Delay(100);
SDL_Delay(10);
#ifdef SDL_PLATFORM_EMSCRIPTEN
if (done) {
@@ -447,6 +447,9 @@ int main(int argc, char *argv[])
{
int i;
/* This is not necessary for text input handling, we just
* want to verify that input works with raw keyboard enabled.
*/
SDL_SetHint(SDL_HINT_WINDOWS_RAW_KEYBOARD, "1");
/* Initialize test framework */
@@ -464,6 +467,9 @@ int main(int argc, char *argv[])
/* Disable mouse emulation */
SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0");
/* Enable text editing events and tell SDL that we'll handle rendering compositions. */
SDL_SetHint(SDL_HINT_IME_IMPLEMENTED_UI, "composition");
/* Initialize SDL */
if (!SDLTest_CommonInit(state)) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s", SDL_GetError());