Simple DirectMedia Layer https://libsdl.org
Find a file
Sam Lantinga 2a01e12d34 Simplify palette code
Each texture gets its own palette, the palette is updated when it is rendered if necessary, rendering is flushed if a texture render is already queued up.

Trying to share palettes and handle the different cases of queued rendering and changing palettes in the middle of the frame ends up being very complicated, so we'll keep it simple for now.
2025-09-28 22:10:06 -07:00
.github ci: add macOS 26 job 2025-09-19 18:06:26 +02:00
android-project Update proguard-rules.pro 2025-09-22 16:46:35 -07:00
build-scripts release: small release script clean-up 2025-09-26 21:39:06 +02:00
cmake cmake: detect RISC-V architectures 2025-09-26 21:39:06 +02:00
docs [SDL3] [PS2] Framebuffer resolution + 240p/480p + PAL support (#13993) 2025-09-21 07:50:14 -07:00
examples examples/misc/02-clipboard: Removed onmouseover-generating helper include. 2025-09-25 13:50:58 -04:00
include Added support for textures with palettes 2025-09-28 22:10:06 -07:00
src Simplify palette code 2025-09-28 22:10:06 -07:00
test Test changing the palette for a single texture 2025-09-28 22:10:06 -07:00
VisualC Add headers for unsupported sources 2025-09-26 21:42:04 +02:00
VisualC-GDK Add headers for unsupported sources 2025-09-26 21:42:04 +02:00
wayland-protocols wayland: Add support for the key repeat event (seat v10) 2025-07-06 11:28:04 -04:00
Xcode Fixed building testautomation on iOS 2025-09-22 10:09:30 -07: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 Fix support for Windows XP and up (#13904) 2025-09-08 13:00:26 -07:00
.wikiheaders-options wikiheaders: Generate a current list of supported environment variables. 2025-09-02 15:49:52 -04:00
Android.mk android: Remove SDL3-static from Android.mk 2025-09-12 17:37:31 +02:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt always link to GameController on iOS and related Apple platforms 2025-09-22 08:13:21 -07: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 2025 2025-01-01 07:45:52 -08:00
README.md Updating documentation for the 3.2.0 release 2025-01-15 20:38:16 -08:00
WhatsNew.txt Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT 2025-03-05 09:07:05 -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)