Simple DirectMedia Layer https://libsdl.org
Find a file
Chris Genova 5d0919855e D3D12 GPU: Prevent reading out of bounds when uploading textures.
When the upload needs realignment, a new buffer is created to do the
upload, and the source data is copied to the new buffer. This commit
fixes the issue where the memcopy can read off the end of the source
buffer since it is reading based on destination pitch instead of source
pitch.

(cherry picked from commit 6a01d6e7d3)
2025-11-07 17:50:25 -08:00
.github release: sync scripts with main branch 2025-11-03 00:11:55 +01:00
android-project Updated to version 3.2.27 for development 2025-10-30 10:18:08 -07:00
build-scripts release: don't download pre-release dependencies + strict version parsing 2025-11-04 18:00:48 +01:00
cmake cmake: fix typo 2025-10-22 19:01:17 +02:00
docs README-macos.md: replace old API calls 2025-07-11 12:08:58 -07:00
examples examples: Use SDL_GetAudioStreamQueued, not SDL_GetAudioStreamAvailable. 2025-02-27 11:46:56 -05:00
include loongarch: add Blit8888to8888PixelAlphaSwizzleLSX opt 2025-11-06 07:29:50 -08:00
src D3D12 GPU: Prevent reading out of bounds when uploading textures. 2025-11-07 17:50:25 -08:00
test Fixed blitting bitmaps with a non-zero x offset 2025-11-06 22:49:17 -08:00
VisualC Make D3D math functions static inline to reduce likelihood of linking conflicts 2025-10-14 16:58:04 -07:00
VisualC-GDK Make D3D math functions static inline to reduce likelihood of linking conflicts 2025-10-14 16:58:04 -07:00
wayland-protocols wayland: Add color manager protocol support 2025-02-17 11:31:12 -05:00
Xcode release: don't download pre-release dependencies + strict version parsing 2025-11-04 18:00:48 +01:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -04:00
.clang-tidy
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 2024-06-16 09:18:17 -07:00
.gitignore Allow in-tree build 2024-10-30 00:04:17 +01:00
.wikiheaders-options .wikiheaders-options: Removed wikipreamble setting. 2025-01-24 01:53:51 -05:00
Android.mk Revert "Support Google Play 16 KB Page Size Requirement (#13470)" 2025-08-07 11:41:43 -07:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CMakeLists.txt loongarch: add SDL_FillSurfaceRect4LSX opt 2025-11-06 07:29:51 -08:00
CREDITS.md Updated the credits for SDL 3.0 2025-01-13 16:42:50 -08:00
INSTALL.md Add a link to docs/INTRO-mingw.md 2025-03-06 16:26:15 -08:00
LICENSE.txt Updated copyright for 2025 2025-01-01 07:45:52 -08:00
README.md Updating documentation for the 3.2.0 release 2025-01-15 20:38:16 -08:00
WhatsNew.txt Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT 2025-03-05 09:13:10 -08:00

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)