mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-29 13:21:02 +02:00
a54dd7ba457fc6780ff460dc4eccccb5df4b3890
If the modern implementation of file dialogs on Windows fails, it will invoke the callback on error and report an error, then SDL would attempt invoking the dialog again using an older implementation, which would call the callback again. This is not desired behavior, so it has been changed as follows: - If the modern dialog fails before showing (missing library/symbol), don't call the callback and try the older dialogs in case we're on an old platform. - If the dialog fails while or after showing, assume the error is a normal invocation error (such as an invalid path), call the callback and don't show the older dialogs to prevent showing two dialogs in succession to the user.
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.4%
CMake
1.6%
Perl
0.7%
Other
1.7%