SDL/src
Sam Lantinga d305bc6d55 Fixed order of operations problem when tearing down the window
Make sure the window framebuffer is cleaned up before shutting down OpenGL, as it might be implemented using an OpenGL texture.

Fixes this call stack:
```
(gdb) p _this
$1 = (SDL_VideoDevice *) 0x42e360
(gdb) p _this->egl_data
$2 = (struct SDL_EGL_VideoData *) 0x0
```
2022-12-17 07:09:24 -08:00
..
atomic Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
audio Android audio device selection (#6824) 2022-12-16 16:40:02 +01:00
core Android audio device selection (#6824) 2022-12-16 16:40:02 +01:00
cpuinfo Fix warnings 'macro argument should be enclosed in parentheses' 2022-12-05 09:06:44 -08:00
dynapi Unify all the SDL_*RunApp() functions into just SDL_RunApp() 2022-12-15 08:01:01 -08:00
events Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
file rwops: Removed unused variable in Windows-specific code. 2022-12-15 00:09:32 -05:00
filesystem SDL_sysfilesystem.c (SDL_GetBasePath): fixed the solaris code path. 2022-12-02 06:23:30 +03:00
haptic Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
hidapi Convert ticks to 64-bit, added nanosecond precision to the API 2022-12-02 12:37:41 -08:00
joystick Fixed compiler warning 2022-12-17 06:54:33 -08:00
libm Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
loadso Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
locale Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
main/winrt Remove SDL3_main from build systems, remove most of src/main/* 2022-12-15 08:01:01 -08:00
misc Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
power Convert ticks to 64-bit, added nanosecond precision to the API 2022-12-02 12:37:41 -08:00
render render: Remove SDL_GetRenderDriverInfo and change SDL_CreateRenderer. 2022-12-13 23:27:35 -05:00
sensor Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
stdlib Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
test render: Remove SDL_GetRenderDriverInfo and change SDL_CreateRenderer. 2022-12-13 23:27:35 -05:00
thread Fixed compiler warning 2022-12-17 06:58:02 -08:00
timer Don't assume evdev events and SDL_GetTicks() use the same time source 2022-12-05 10:40:16 -08:00
video Fixed order of operations problem when tearing down the window 2022-12-17 07:09:24 -08:00
SDL.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_assert.c Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
SDL_assert_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_dataqueue.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_dataqueue.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_error.c Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
SDL_error_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_guid.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_hints.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_hints_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_internal.h Make WinRT's SDL_main header-only 2022-12-15 08:01:01 -08:00
SDL_intrin.h Move intrinsic includes into a private header 2022-12-04 09:34:10 -08:00
SDL_list.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_list.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_log.c Added support for clang thread-safety analysis 2022-12-14 09:53:39 -08:00
SDL_log_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL_utils_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00