Simple DirectMedia Layer https://libsdl.org
Find a file
Anonymous Maarten 48e80c8f26 memcpy with a NULL src/dst argument is UB
malloc of UBSAN returns NULL when allocating 0 bytes, causing a call to memcpy(NULL, xxx, 0);
2026-04-02 21:25:41 +02:00
.github ci: clang-tools-extra is no longer available for mingw32 2026-03-25 18:41:00 +01:00
android-project Removed spurious whitespace 2026-03-28 22:22:39 -07:00
build-scripts CodeSpell 2026-02-07 18:14:00 +03:00
cmake Fix endmacro syntax in macros.cmake 2026-03-25 08:30:58 -07:00
docs Added documentation to fix building on macOS with Xcode 12.2 (thanks @buhman!) 2026-04-01 16:37:14 -07:00
examples examples: Make source code and console tabs take 80% of browser page. 2026-02-16 14:26:51 -05:00
include aaudio: Respect SDL_HINT_AUDIO_DEVICE_STREAM_ROLE hint. 2026-04-01 22:17:23 -04:00
src memcpy with a NULL src/dst argument is UB 2026-04-02 21:25:41 +02:00
test render: Add Suspend/Resume calls for GDK support 2026-03-07 11:19:09 -05:00
VisualC testtray: created VS project and added new click callbacks 2026-02-05 11:08:05 -08:00
VisualC-GDK gdk: Update Suspend/Resume best practices. 2026-03-07 11:19:09 -05:00
wayland-protocols wayland: Handle min/max sizes in fixed-size windows with viewports 2026-02-28 12:55:17 -05:00
Xcode Hiding OpenGLES API deprecation since iOS 12.0 warning 2026-02-15 10:57:07 -08: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 Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2023-08-05 14:14:45 -04:00
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 2024-06-16 09:18:17 -07:00
.gitignore Updated .gitignore for png test data 2025-10-10 08:59:27 -07:00
.wikiheaders-options wikiheaders: Generate a current list of supported environment variables. 2025-09-02 15:49:52 -04:00
Android.mk GPU: OpenXR integration (#14837) 2026-01-30 17:18:51 -05:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt Fix Metal GPU backend not being included in CMake configuration 2026-03-30 09:30:36 -04:00
CREDITS.md Updated the credits for SDL 3.0 2025-01-13 16:42:50 -08:00
INSTALL.md Add a link to docs/INTRO-mingw.md 2025-03-06 16:25:17 -08:00
LICENSE.txt Updated copyright for 2026 2026-01-01 09:40:08 -08:00
README.md Revert "Update README.md" 2025-11-16 01:15:10 +03:00
WhatsNew.txt Added SDL_HINT_MOUSE_DPI_SCALE_CURSORS 2025-12-09 17:12:08 -08:00

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)