From ff44bad9bdb69f14387157ad82a8c41425f174b9 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 24 Nov 2025 01:37:06 -0500
Subject: [PATCH] main: Restored lost call to SDL_SetMainReady() in Windows
SDL_RunApp().
---
src/main/windows/SDL_sysmain_runapp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/windows/SDL_sysmain_runapp.c b/src/main/windows/SDL_sysmain_runapp.c
index 1bb80b4092eaf..4ece8a4c705e0 100644
--- a/src/main/windows/SDL_sysmain_runapp.c
+++ b/src/main/windows/SDL_sysmain_runapp.c
@@ -95,6 +95,7 @@ int MINGW32_FORCEALIGN SDL_RunApp(int caller_argc, char *caller_argv[], SDL_main
}
argv[argc] = NULL;
+ SDL_SetMainReady();
result = mainFunction(argc, argv);
cleanup: