Parcourir la source

main: Restored lost call to SDL_SetMainReady() in Windows SDL_RunApp().

Ryan C. Gordon il y a 9 mois
Parent
commit
ff44bad9bd
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/main/windows/SDL_sysmain_runapp.c

+ 1 - 0
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: