Fixed infinite recursion initializing properties

This commit is contained in:
Sam Lantinga
2023-11-08 12:38:04 -08:00
parent 979214363f
commit 407a3cb4e0
2 changed files with 3 additions and 10 deletions

View File

@@ -185,6 +185,7 @@ int SDL_InitSubSystem(Uint32 flags)
SDL_InitLog();
SDL_InitProperties();
SDL_GetGlobalProperties();
/* Clear the error message */
SDL_ClearError();