sdl2_frt/src/core
Ryan C. Gordon 350ca0f908 winrt: Don't register orientation hint callback in startup code.
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.
2021-08-03 05:07:39 -04:00
..
android Android: don't need to set the SurfaceHolder format from java code 2021-04-22 18:06:17 +02:00
freebsd Change "memset" to "SDL_zero" 2021-02-14 13:54:08 -05:00
linux This delay is no longer needed on Steam Link hardware 2021-06-04 13:23:54 -07:00
openbsd Remove WSCONS mouse scaling 2021-05-19 21:09:19 -04:00
os2 Updated copyright for 2021 2021-01-02 10:25:38 -08:00
unix Updated copyright for 2021 2021-01-02 10:25:38 -08:00
windows WIN_SetErrorFromHRESULT: kill CR/LF that FormatMessage sticks at the end 2021-07-08 20:33:50 +03:00
winrt winrt: Don't register orientation hint callback in startup code. 2021-08-03 05:07:39 -04:00