Go to file
Ryan C. Gordon f61860fa93
testautomation: fixed incorrect test.
The test was doing this:

- The output size is 80x60
- The logical size is 40x30
- The viewport is { 10, 7, 40, 30 }
- Draw to fill this whole viewport.

This would offset the filled rectangle a little, as before, but then the
viewport was the size of the entire logical space, so it wasn't a rectangle
centered in the middle of the output, as was expected.

This used to produce the expected output before the fix in
fa7a529912. But it appears the test was
incorrect, so this tweaks the viewport to produce the expected result.
2025-01-08 23:33:39 -05:00
.github ci: bump FreeBSD to 14.2 2025-01-03 23:24:41 +01:00
VisualC Enabled warning level 4 on Visual Studio 2025-01-06 11:30:36 -08:00
VisualC-GDK Updated copyright for 2025 2025-01-01 07:45:52 -08:00
Xcode Updated to version 3.1.9 for development 2025-01-07 17:51:00 -08:00
android-project Updated to version 3.1.9 for development 2025-01-07 17:51:00 -08:00
build-scripts Check that dll's built by MinGW do not link to unwanted runtime libraries 2025-01-03 16:56:22 +01:00
cmake cmake: consider X11 as not available when xext.h is not found 2025-01-05 16:05:25 +01:00
docs Android doc cleanup 2025-01-07 16:56:29 -05:00
examples Fix HTML examples template tabs 2025-01-05 11:39:20 -08:00
include Sync SDL3 wiki -> header 2025-01-08 19:57:05 +00:00
src render: Some cleanups. 2025-01-08 14:59:28 -05:00
test testautomation: fixed incorrect test. 2025-01-08 23:33:39 -05:00
wayland-protocols wayland: Remove kde_output_order_v1 support 2024-10-19 11:16:30 -04: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 include: Filling in some more documentation gaps. 2024-12-18 01:18:40 -05:00
Android.mk SDL_EVENT_QUIT when no window nor tray 2024-12-27 09:22:27 -08:00
BUGS.txt Replaced \r\n with \n in SDL root files 2024-10-05 18:15:02 -07:00
CMakeLists.txt Updated to version 3.1.9 for development 2025-01-07 17:51:00 -08:00
CREDITS.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
INSTALL.md Add detailed documentation on building with MinGW64 (#11780) 2025-01-03 21:07:38 -08:00
LICENSE.txt Updated copyright for 2025 2025-01-01 07:45:52 -08:00
README-SDL.txt Replaced \r\n with \n in SDL root files 2024-10-05 18:15:02 -07:00
README.md Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00
WhatsNew.txt Replaced \r\n with \n in SDL root files 2024-10-05 18:15:02 -07:00

README.md

Simple DirectMedia Layer (SDL) Version 3.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. 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. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)