Simple DirectMedia Layer https://libsdl.org
Find a file
jimtahu d1af211010 Always Use Next Display Index
WIN_AddDisplay asserted that the returned index is the expected next
one in the list. This can be an unexpected number when displays are
add and removed in a batch (eg, Remote Desktop disconnect and reconnect).
Instead always just make use of the next index, even if it is not the
expected next index value. This fixes issue #9105

(cherry picked from commit bee8874629)
2024-11-15 14:35:55 -08:00
.github Add parametrized release script 2024-10-04 23:42:29 +02:00
acinclude autotools, libtool, win32: add 'aarch64' support to the file magic test. 2024-09-17 14:10:02 +03:00
android-project Spell "unknown" correctly 2024-09-13 12:29:56 -07:00
android-project-ant
build-scripts Port build-script from SDL3 2024-11-02 01:58:46 +01:00
cmake Port SDL3 release scripts to SDL2 2024-10-01 21:09:41 +02:00
docs README-macos: fixed some text. 2024-07-16 08:27:12 -04:00
include Removed SDL_HINT_ENABLE_STEAM_CONTROLLERS 2024-11-08 15:23:31 -08:00
mingw/pkg-support Add parametrized release script 2024-10-04 23:42:29 +02:00
src Always Use Next Display Index 2024-11-15 14:35:55 -08:00
test testautomation keyboard: use space instead of a 2024-11-08 18:21:32 +03:00
VisualC VisualC: Set the correct component to false. 2024-10-13 09:00:35 -07:00
VisualC-GDK ci: add GDK 2024-08-04 17:17:43 +02:00
VisualC-WinRT video: move standard c, sse and lsx implementations of yuv2rgb to its own source 2024-01-18 17:06:27 -08:00
visualtest Remove unneeded semicolon 2022-11-17 10:43:45 +01:00
wayland-protocols wayland: Add support for setting window icons via the xdg-toplevel-icon-v1 protocol 2024-10-07 14:24:33 -04:00
Xcode remove non-existent vulkan.hpp and vulkan_mir.h from Xcode project 2024-03-25 21:23:24 +03:00
Xcode-iOS/Demos Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 2024-07-17 10:51:30 -07:00
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2022-12-02 00:43:46 -08:00
.editorconfig editorconfig: remove trailing whitespace in source code 2022-12-26 10:34:45 -08:00
.gitignore Port build-script from SDL3 2024-11-02 01:58:46 +01:00
.wikiheaders-options .wikiheader-options: Treat SDL int types (Uint64, etc) as API prefixes. 2024-11-01 23:52:03 -04:00
Android.mk Sort joystick drivers in Android.mk 2024-06-05 12:09:45 -07:00
autogen.sh Simplified autogen.sh, thanks to @smcv for the tip 2022-05-05 11:54:24 -07:00
BUGS.txt
cmake_uninstall.cmake.in
CMakeLists.txt Port build-script from SDL3 2024-11-02 01:58:46 +01:00
configure autotools, libtool, win32: add 'aarch64' support to the file magic test. 2024-09-17 14:10:02 +03:00
configure.ac configure.ac: Explicitly disable Vulkan support on Solaris. 2024-06-27 01:39:44 -04:00
CREDITS.txt
INSTALL.txt INSTALL.txt: Say "macOS" instead of "Mac OS X" in modern times. 2022-03-15 13:07:55 -04:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:19:49 -08:00
Makefile.in Makefile.in: add VisualC-GDK to SRC_DIST 2024-05-28 14:10:24 +03:00
Makefile.minimal Split up CFLAGS construction so it can be overridden 2023-03-29 07:26:34 -07:00
Makefile.os2 Updated to version 2.31.0 for development 2024-01-22 09:12:34 -08:00
Makefile.pandora more fixes to standalone makefiles. 2021-11-13 21:56:20 +03:00
Makefile.w32 Updated to version 2.31.0 for development 2024-01-22 09:12:34 -08:00
README-SDL.txt
README.md
sdl2-config-version.cmake.in Add documentation to autotoo'ls sdl2-config-version.cmake.in 2022-05-31 00:10:55 +02:00
sdl2-config.cmake.in cmake: use genexes for linking against apple frameworks 2024-07-27 17:13:52 +02:00
sdl2-config.in sdl2-config.in: use backtics instead of $() for older shells 2024-07-14 19:36:46 +02:00
sdl2.m4 Typo fix 2024-09-14 21:13:56 -07:00
sdl2.pc.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
SDL2.spec.in
SDL2Config.cmake.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
TODO.txt Fixed up legacy MoinMoin URLs at wiki.libsdl.org 2021-04-01 12:20:33 -04:00
WhatsNew.txt Added the environment variable SDL_LOGGING to control default log output 2024-01-27 19:46:25 -08:00

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)