Simple DirectMedia Layer https://libsdl.org
Find a file
Frank Praznik 43e9c5b247
wayland: Check the returned display value for null
In reality, this condition will never occur, since the index is checked before calling the display retrieval function, but aggressive LTO with jump threading can generate a warning if this isn't explicitly checked.

(cherry picked from commit 91bb1bb6fd)
2024-12-03 11:54:11 -05:00
.github ci: add setup-gdk-desktop action 2024-11-23 23:30:38 +01:00
acinclude autotools: a few libtool updates from mainstream 2024-01-28 21:50:42 +03:00
android-project Updated to version 2.30.9 for release 2024-11-01 14:24:51 -07:00
android-project-ant Added the old ant Android build project structure 2017-10-28 12:11:25 -07:00
build-scripts ci: setup-gdk-desktop needs build-scripts/setup-gdk-desktop.py 2024-11-23 23:42:35 +01:00
cmake Port SDL3 release scripts to SDL2 2024-10-01 21:22:06 +02:00
docs README-macos: Typo fixes. 2024-07-16 08:32:29 -04:00
include build system: disable 3dNow! support by default 2024-11-17 17:55:32 +03:00
mingw/pkg-support port build-script from SDL3 2024-11-02 02:19:50 +01:00
src wayland: Check the returned display value for null 2024-12-03 11:54:11 -05:00
test cmake: ios and tvos applications need to link to SDL2main library 2024-11-24 00:09:55 +01:00
VisualC VisualC: Set the correct component to false. 2024-10-13 09:03:22 -07:00
VisualC-GDK GDK: Fix msbuild project for latest Windows GDK desktop release 2024-11-24 00:04:52 +01: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 Support wayland fractional scale protocol 2022-11-29 16:37:02 -05:00
Xcode Updated to version 2.30.9 for release 2024-11-01 14:24:51 -07: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 14:48:06 -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 SDL3 release scripts to SDL2 2024-10-01 21:22:06 +02:00
.wikiheaders-options wikiheaders: Bridge README files in the docs directory to wiki. 2023-02-28 11:46:46 -05:00
Android.mk Fixed building with the 16.1.4479499 Android toolchain 2023-06-03 23:55:56 -07:00
autogen.sh Simplified autogen.sh, thanks to @smcv for the tip 2022-05-05 11:54:24 -07:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
cmake_uninstall.cmake.in
CMakeLists.txt cmake: fix building UWP with non-MSVC generator 2024-11-23 23:28:29 +01:00
configure build system: disable 3dNow! support by default 2024-11-17 17:55:32 +03:00
configure.ac build system: disable 3dNow! support by default 2024-11-17 17:55:32 +03: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:28 +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.30.9 for release 2024-11-01 14:24:51 -07:00
Makefile.pandora more fixes to standalone makefiles. 2021-11-13 21:56:20 +03:00
Makefile.w32 Updated to version 2.30.9 for release 2024-11-01 14:24:51 -07:00
README-SDL.txt
README.md Update and rename README.txt to README.md 2021-03-20 18:46:37 -04:00
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: allow users of sdl2-config.cmake to not add -mwindows to the link options 2023-04-18 14:10:12 -04:00
sdl2-config.in Revert "sdl2-config.in: Deprecate sdl2-config" 2022-11-18 06:53:13 -08:00
sdl2.m4 sdl2.m4: Call $PKG_CONFIG rather than hard-coding pkg-config 2024-01-01 08:27:02 -08:00
sdl2.pc.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
SDL2.spec.in license: Fixed references to COPYING.txt that are now LICENSE.txt. 2021-02-18 11:07:26 -05:00
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:59 -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)