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 e305da0baf Enable high refresh rates on iOS
Fixes https://github.com/libsdl-org/SDL/issues/7518

(cherry picked from commit 835b6e0c1a)
(cherry picked from commit 974098464f)
10 hours ago
.github ci: add setup-gdk-desktop action 4 weeks ago
VisualC vc: bump CMake compatibility version of sdl2-config.cmake 2 weeks ago
VisualC-GDK GDK: Fix msbuild project for latest Windows GDK desktop release 4 weeks ago
VisualC-WinRT video: move standard c, sse and lsx implementations of yuv2rgb to its own source 11 months ago
Xcode Updated to version 2.30.10 for release 2 weeks ago
Xcode-iOS/Demos Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
acinclude autotools: a few libtool updates from mainstream 11 months ago
android-project Updated to version 2.30.10 for release 2 weeks ago
android-project-ant Added the old ant Android build project structure 7 years ago
build-scripts Build optimized stripped MinGW binary releases 1 week ago
cmake Port SDL3 release scripts to SDL2 3 months ago
docs README-macos: Typo fixes. 5 months ago
include Updated to version 2.30.10 for release 2 weeks ago
mingw/pkg-support port build-script from SDL3 2 months ago
src Enable high refresh rates on iOS 10 hours ago
test cmake: ios and tvos applications need to link to SDL2main library 4 weeks ago
visualtest Remove unneeded semicolon 2 years ago
wayland-protocols Support wayland fractional scale protocol 2 years ago
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2 years ago
.editorconfig editorconfig: remove trailing whitespace in source code 2 years ago
.gitignore Port SDL3 release scripts to SDL2 3 months ago
.wikiheaders-options wikiheaders: Bridge README files in the docs directory to wiki. 2 years ago
Android.mk Fixed building with the 16.1.4479499 Android toolchain 2 years ago
BUGS.txt Cleaned up a few more Bugzilla mentions. 4 years ago
CMakeLists.txt Updated to version 2.30.10 for release 2 weeks ago
CREDITS.txt Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
INSTALL.txt INSTALL.txt: Say "macOS" instead of "Mac OS X" in modern times. 3 years ago
LICENSE.txt Updated copyright for 2024 12 months ago
Makefile.in Makefile.in: add VisualC-GDK to SRC_DIST 7 months ago
Makefile.minimal Split up CFLAGS construction so it can be overridden 2 years ago
Makefile.os2 Updated to version 2.30.10 for release 2 weeks ago
Makefile.pandora more fixes to standalone makefiles. 3 years ago
Makefile.w32 Updated to version 2.30.10 for release 2 weeks ago
README-SDL.txt More HTTPS changes in the documentation. 8 years ago
README.md Update and rename README.txt to README.md 4 years ago
SDL2.spec.in license: Fixed references to COPYING.txt that are now LICENSE.txt. 4 years ago
SDL2Config.cmake.in cmake: use FindALSA.cmake to find ALSA library 2 years ago
TODO.txt Fixed up legacy MoinMoin URLs at wiki.libsdl.org 4 years ago
WhatsNew.txt Added the environment variable SDL_LOGGING to control default log output 11 months ago
autogen.sh Simplified autogen.sh, thanks to @smcv for the tip 3 years ago
cmake_uninstall.cmake.in Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target 7 years ago
configure Updated to version 2.30.10 for release 2 weeks ago
configure.ac Updated to version 2.30.10 for release 2 weeks ago
sdl2-config-version.cmake.in Add documentation to autotoo'ls sdl2-config-version.cmake.in 3 years ago
sdl2-config.cmake.in cmake: allow users of sdl2-config.cmake to not add -mwindows to the link options 2 years ago
sdl2-config.in Revert "sdl2-config.in: Deprecate sdl2-config" 2 years ago
sdl2.m4 sdl2.m4: Call $PKG_CONFIG rather than hard-coding pkg-config 12 months ago
sdl2.pc.in cmake: use FindALSA.cmake to find ALSA library 2 years ago

README.md

Simple DirectMedia Layer (SDL) Version 2.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 via OpenGL and Direct3D. 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

Enjoy!

Sam Lantinga (slouken@libsdl.org)