mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-12-18 10:41:36 +00:00
SDL_AddHintCallback() uses SDL_malloc(), which means this would run before main(), so the app wouldn't be able to supply its own replacement SDL_malloc() implementation in time. This code was moved to under SDL_Init. Since the hint callback already makes efforts to not override the app manifest's orientation settings, this is safe to move until after pre-main() startup. Fixes #4449. |
||
|---|---|---|
| .. | ||
| android | ||
| freebsd | ||
| linux | ||
| openbsd | ||
| os2 | ||
| unix | ||
| windows | ||
| winrt | ||