SDL/src
Ryan C. Gordon cab3defc18 render: SDL_DestroyWindow hollows out its renderer but doesn't free it.
This allows apps to destroy the window and renderer in either order, but
makes sure that the renderer can properly clean up its resources while OpenGL
contexts and libraries are still loaded, etc.

If the window is destroyed first, the renderer is (mostly) destroyed but its
pointer remains valid. Attempts to use the renderer will return an error,
but it can still be explicitly destroyed, at which time the struct is free'd.

If the renderer is destroyed first, everything works as before, and a new
renderer can still be created on the existing window.

Fixes #9540.
2024-04-19 00:25:59 -04:00
..
atomic
audio pipewire: Use the core version info for the preferred version check 2024-04-17 22:34:26 -04:00
camera Fixed signed/unsigned comparison warning 2024-03-19 17:00:46 -07:00
core audio: Prefer Pipewire if at least version 1.0.0 2024-04-17 17:16:28 -04:00
cpuinfo cpuinfo: fix -Wmissing-prototypes warning 2024-04-02 18:57:36 +02:00
dialog dialog: Use size_t for length variables (#9572) 2024-04-18 09:09:10 -07:00
dynapi Replaced SDL_GetNumTouchFingers() and SDL_GetTouchFinger() with SDL_GetTouchFingers() 2024-04-15 09:22:41 -10:00
events Use single line comment format 2024-04-15 13:42:28 -07:00
file Fixed warning C4702: unreachable code 2024-03-19 16:02:54 -07:00
filesystem winrt: Remove SDL_WinRTGetFSPathUNICODE, rename SDL_WinRTGetFSPathUTF8. 2024-04-13 08:24:12 -04:00
haptic Fix TOCTOU race condition 2024-03-08 15:52:04 -08:00
hidapi windows hidapi: fix header compilation 2024-04-18 09:00:49 -07:00
joystick joystick: SDL_VirtualJoystickDesc no longer takes a struct version. 2024-04-13 14:16:12 -04:00
libm
loadso
locale N3DS: Fix locale name and early return. 2024-03-19 16:54:07 -07:00
main main: Add an optional appstate param to main callback entry points. 2024-03-27 17:22:08 -04:00
misc
power
render render: SDL_DestroyWindow hollows out its renderer but doesn't free it. 2024-04-19 00:25:59 -04:00
sensor
stdlib stdlib: Export some Unicode functions to other SDL internals. 2024-04-04 09:40:13 -04:00
storage filesystem: Added SDL_GlobDirectory() and SDL_GlobStorageDirectory(). 2024-04-04 09:40:13 -04:00
test Fixed misuse of entry->size in SDL_TrackAllocation 2024-04-15 11:47:18 -10:00
thread thread: make generic SDL_Condition a no-op if built with SDL_THREADS_DISABLED. 2024-04-16 15:07:56 -04:00
time SDL_time.h: Renaming enums SDL_DATE_FORMAT and SDL_TIME_FORMAT to SDL_DateFormat and SDL_TimeFormat 2024-04-07 23:03:01 -04:00
timer PSP: improve performance counter res to us granularity (thanks @rofl0r!) 2024-03-23 09:34:07 -07:00
video render: SDL_DestroyWindow hollows out its renderer but doesn't free it. 2024-04-19 00:25:59 -04:00
SDL.c cpuinfo: reset cpu features on SDL_Quit 2024-03-23 16:36:44 -07:00
SDL_assert.c assert: SDL_AssertData::always_ignore should be an SDL_bool, not an int. 2024-04-09 00:50:01 -04:00
SDL_assert_c.h
SDL_error.c
SDL_error_c.h
SDL_guid.c
SDL_hashtable.c
SDL_hashtable.h
SDL_hints.c
SDL_hints_c.h Removed SDL_ClearHints() from the public API 2024-02-24 21:07:50 -08:00
SDL_internal.h stdlib: Improve Unicode support and consistency in string comparison functions. 2024-03-29 15:01:40 -04:00
SDL_list.c Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
SDL_list.h
SDL_log.c Renamed SDL_LogGetOutputFunction() and SDL_LogSetOutputFunction() to match SDL 3.0 naming convention 2024-03-17 12:28:11 -07:00
SDL_log_c.h
SDL_properties.c Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
SDL_properties_c.h Added SDL_SetFreeableProperty() for internal use 2024-02-10 08:04:27 -08:00
SDL_utils.c
SDL_utils_c.h