mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-03 14:50:15 +02:00
e70f1bfc29aa0aa9a4c066725df48ab336067d73
The code is using `controls.window` before checking if it isn't null. I found this bug by accident when I tried to run `SDL_ShowSimpleMessageBox`. It first tried using Wayland with `zenity`, but since I don't have `zenity`, it fallbacked to `X11_ShowMessageBoxImpl`. For some reason it couldn't create a window, maybe something related to XWayland, so `controls.window` was `NULL`.
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
85.7%
C++
6.6%
Objective-C
3.3%
CMake
1.7%
Perl
0.7%
Other
1.7%