Go to file
Semphris 684098fac3 Fix possible bug with Windows dialogs
The Windows implementation of dialogs use the Win32 API, which expects the file filters to have null bytes as separator, and two null bytes at the end of the filter list. To help with string manipulation, the internal code uses 0x01 bytes instead of null bytes, and converts all 0x01 bytes into null bytes at the last moment. If someone decides to put two consecutive 0x01 bytes in their filter names, the code might mistakenly pick them up and convert them to null bytes, leading to Windows failing to pick up later filters. In practice, this is probably not so bad, since it requires someone to have control over file filters already, and allows at most ignoring the following file filters. It is also unlikely to happen by accident since 0x01 is not printable. This commit fixes that by replacing all the 0x01 bytes with the space character.
2024-12-17 20:50:39 -08:00
.github Add build-release.py updates from satellite libraries 2024-12-08 02:16:02 +01:00
VisualC Removed unused math code from the Visual Studio projects 2024-12-06 16:28:23 -08:00
VisualC-GDK Xbox buildfixes 2024-12-13 11:34:39 -05:00
Xcode Removed unused math code from the Xcode project 2024-12-06 16:20:13 -08:00
android-project Fixed Java exception if mConnection is null 2024-11-07 11:54:09 -08:00
build-scripts wikiheaders: Add underscore to the "big ascii" character table. 2024-12-17 23:23:13 -05:00
cmake Add build-release.py updates from satellite libraries 2024-12-08 02:16:02 +01:00
docs Sync SDL3 wiki -> header 2024-12-17 07:29:13 +00:00
examples examples/audio/04-multiple-streams: Note about web browser audio in README. 2024-12-11 14:13:52 -05:00
include SDL_intrin.h: Added missing NEON and Altivec documentation. 2024-12-17 23:33:05 -05:00
src Fix possible bug with Windows dialogs 2024-12-17 20:50:39 -08:00
test video: Drop size and position requests for windows in a fixed size/position state 2024-12-17 10:45:40 -05:00
wayland-protocols wayland: Remove kde_output_order_v1 support 2024-10-19 11:16:30 -04:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -04:00
.clang-tidy
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 2024-06-16 09:18:17 -07:00
.gitignore Allow in-tree build 2024-10-30 00:04:17 +01:00
.wikiheaders-options .wikiheaders-options: Include CPU intrinsics macros in quick reference. 2024-12-17 23:37:28 -05:00
Android.mk SDL_ShowFileDialogWithProperties with more options 2024-12-04 15:10:15 -08:00
BUGS.txt Replaced \r\n with \n in SDL root files 2024-10-05 18:15:02 -07:00
CMakeLists.txt cmake: make RelWithDebInfo the default configuration 2024-12-09 18:03:03 +01:00
CREDITS.md
INSTALL.md (doc): make cmake build parallel on linux 2024-11-23 12:15:59 +01:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README-SDL.txt Replaced \r\n with \n in SDL root files 2024-10-05 18:15:02 -07:00
README.md Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00
WhatsNew.txt Replaced \r\n with \n in SDL root files 2024-10-05 18:15:02 -07:00

README.md

Simple DirectMedia Layer (SDL) Version 3.0

https://www.libsdl.org/

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)