Don't call SDL_Gtk_Quit() on private platforms

(cherry picked from commit c742038aa9)
This commit is contained in:
Sam Lantinga
2026-01-05 08:08:33 -08:00
parent 3f58b99b53
commit 832b2aaf39

View File

@@ -689,7 +689,7 @@ void SDL_Quit(void)
SDL_DBus_Quit();
#endif
#if defined(SDL_PLATFORM_UNIX) && !defined(SDL_PLATFORM_ANDROID) && !defined(SDL_PLATFORM_EMSCRIPTEN)
#if defined(SDL_PLATFORM_UNIX) && !defined(SDL_PLATFORM_ANDROID) && !defined(SDL_PLATFORM_EMSCRIPTEN) && !defined(SDL_PLATFORM_PRIVATE)
SDL_Gtk_Quit();
#endif