Simple Directmedia Layer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luke Street 34458fe9f4 Update switch/SDL_systimer.c; fix Switch link issues 8 months ago
.github Run tests with OpenWatcom on CI 8 months ago
VisualC test: Add some common code to load test resources 9 months ago
VisualC-WinRT Added declaration of SDL_LogInit() and SDL_LogQuit() 9 months ago
Xcode macOS: always use Objective-C ARC (automatic ref counting). 9 months ago
Xcode-iOS Updated iOS build instructions 1 year ago
acinclude imported two libtool mainstream commits 28fbcb6a and b55b1cc8 11 months ago
android-project Adjust gradle dependencies to enable the build to position assets for the APK 11 months ago
android-project-ant Added the old ant Android build project structure 5 years ago
build-scripts Fixed whitespace 8 months ago
cmake x11: Remove XVidMode and Xinerama support. 9 months ago
docs N-Gage port: add changes from code reviews, overall cleanup (#5618) 9 months ago
include Merge remote-tracking branch 'fork/VK_EXT_metal_surface' into merged 8 months ago
src Update switch/SDL_systimer.c; fix Switch link issues 8 months ago
test Merge remote-tracking branch 'fork/VK_EXT_metal_surface' into merged 8 months ago
visualtest remove all unnecessary stuff from visualtest configury. 1 year ago
wayland-protocols video: wayland: Use wp-viewporter for fullscreen with non-native resolutions 10 months ago
.clang-format Add for-each macros to clang-format. 8 months ago
.editorconfig .editorconfig: Automatically configure multiple text editors 8 months ago
.gitignore Initial support for building for Windows with OpenWatcom 8 months ago mark as non-executable 1 year ago
BUGS.txt Cleaned up a few more Bugzilla mentions. 2 years ago
CMakeLists.txt Update switch/SDL_systimer.c; fix Switch link issues 8 months ago
CREDITS.txt Fixed crash if initialization of EGL failed but was tried again later. 8 years ago
INSTALL.txt INSTALL.txt: Say "macOS" instead of "Mac OS X" in modern times. 11 months ago
LICENSE.txt Updated copyright for 2022 1 year ago added missing CXX variable. 10 months ago
Makefile.minimal build libSDL2_test too with Makefile.minimal 1 year ago
Makefile.os2 Makefile.os2: add SDL_BUILD_???_VERSION defines to correct CFLAGS. 9 months ago
Makefile.pandora more fixes to standalone makefiles. 1 year ago
Makefile.w32 Remove the '_' prefix from symbol names in Windows OpenWatcom builds 8 months ago
README-SDL.txt More HTTPS changes in the documentation. 6 years ago Update and rename README.txt to 2 years ago license: Fixed references to COPYING.txt that are now LICENSE.txt. 2 years ago
SDL2Config.cmake cmake: Split SDL2-static and SDL2main into their own target exports 1 year ago
TODO.txt Fixed up legacy MoinMoin URLs at 2 years ago
WhatsNew.txt Switch versioning scheme to be the same as GLib and Flatpak 9 months ago Simplified, thanks to @smcv for the tip 9 months ago Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target 5 years ago
configure Remove unused SDL_ASSEMBLY_ROUTINES define 9 months ago Merge remote-tracking branch 'fork/VK_EXT_metal_surface' into merged 8 months ago cmake: Forgot to add this file to revision control. 3 years ago Merge remote-tracking branch 'upstream/2.0.22' into switch-sdl2-2.0.14-dev 8 months ago build: Don't duplicate Libs in Libs.private in pkg-config file 3 years ago
sdl2.m4 acinclude & sdl2.m4 updates: 2 years ago rename PKG_CONFIG_LIBS_PRIV to PKGCONFIG_LIBS_PRIV 2 years ago

Simple DirectMedia Layer (SDL) Version 2.0

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


Sam Lantinga (