mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-27 01:34:29 +00:00
9493e6974f70a906950c9d8196c9a9982300f261
If there are bugs it's possible that the window pointer is invalid. Double check it before sending the application events and potentially dereferencing it. This showed up in https://github.com/libsdl-org/SDL/issues/10494 as a window getting mouse focus as it was being destroyed and then crashing later when mouse focus was set to a different window.
Remove
createSDLMainRunnable() in favour of main() to fix multiple issues when providing custom main/runnable code (#10434)
Simple DirectMedia Layer (SDL) Version 3.0
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
More extensive documentation is available in the docs directory, starting with README.md. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.
Enjoy!
Sam Lantinga (slouken@libsdl.org)
Languages
C
85.8%
C++
6.5%
Objective-C
3.3%
CMake
1.7%
Perl
0.7%
Other
1.7%