mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
65cd2256c5542cba227e68902114c23500a74847

With ASAN enabled the existing code triggered null-pointer-dereference in the strcmp since EMSCRIPTEN_EVENT_TARGET_WINDOW is a "fake" pointer with the value ((const char*)2). In fixing this it was also noticed that using the #window/#document/#screen targets as mentioned in the docs fails since document.querySelector() returns null for them and we should instead be mapping them to the special HTML targets provided.
Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.
You can find the latest release and additional information at: https://www.libsdl.org/
Installation instructions and a quick introduction is available in INSTALL.md
This library is distributed under the terms of the zlib license, available in LICENSE.txt.
Enjoy!
Sam Lantinga (slouken@libsdl.org)
Languages
C
86.4%
C++
5.9%
Objective-C
3.4%
CMake
1.6%
Perl
0.8%
Other
1.7%