Simple Directmedia Layer https://libsdl.org/
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Sam Lantinga fcd41c1d2c Check desired window area when checking zoom state
isZoomed returns true if the window has the size and position that it would if it were maximized, so we need to check to see if our floating state matches that before saying we're zoomed.

This fixes calling zoom:nil on a borderless resizable window that was created with the same size as the usable desktop area, which happens to also be the maximized state.

Fixes https://github.com/libsdl-org/SDL/issues/12228
6 hours ago
.github ci: fix type + names of intel compiler artifacts 13 hours ago
VisualC Added initial MJPG support using stb_image 2 days ago
VisualC-GDK Added initial MJPG support using stb_image 2 days ago
Xcode Added initial MJPG support using stb_image 2 days ago
android-project Fixed motion events with TOOL_TYPE_UNKNOWN 1 week ago
build-scripts Revert "testcamera: added support for Motion JPEG camera frames" 2 days ago
cmake Remove newlines from log messages 1 month ago
docs README-migration: Remove errant reference to SDL_FALSE_ 4 days ago
examples Remove redundant casts 15 hours ago
include Update include/SDL3/SDL_assert.h 14 hours ago
src Check desired window area when checking zoom state 6 hours ago
test Add 'const' to pointer parameters 9 hours ago
wayland-protocols wayland: Add color manager protocol support 5 days ago
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 11 months ago
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2 years ago
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 8 months ago
.gitignore Allow in-tree build 4 months ago
.wikiheaders-options .wikiheaders-options: Removed wikipreamble setting. 4 weeks ago
Android.mk io: Renamed src/file to src/io 1 month ago
BUGS.txt Added a Discord link to BUGS.txt 1 month ago
CMakeLists.txt Revert "cmake: build SDL_uclibc with -fPIC" 2 days ago
CREDITS.md Updated the credits for SDL 3.0 1 month ago
INSTALL.md Added INTRO-androidstudio.md 1 month ago
LICENSE.txt Updated copyright for 2025 2 months ago
README.md Updating documentation for the 3.2.0 release 1 month ago
WhatsNew.txt Updating documentation for the 3.2.0 release 1 month ago

README.md

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)