From 8349e95e3e0ea4d3081739e2b8bb5787b9e366ba Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 7 Feb 2026 13:32:37 -0500 Subject: Initial support for SDL3. [R. Belmont, Vas Crabb] * SDL3 is the default for macOS targets. Linux/Windows can build with OSD=sdl3 while we wait for better distro support for SDL3. Both X11 and Wayland sessions are fully supported on Linux. * SDL3 -sound=sdl supports both input and output. All other video, sound, and input functionality should otherwise be the same for now. SDL 3.4+ multiple keyboard/mouse support is planned. --- scripts/src/tools.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/src/tools.lua') diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua index e2340724e0c..7d0e85039cd 100644 --- a/scripts/src/tools.lua +++ b/scripts/src/tools.lua @@ -794,12 +794,11 @@ if (_OPTIONS["osd"] == "sdl") then if _OPTIONS["USE_LIBSDL"]~="1" then configuration { "mingw*"} links { - "SDL2main", - "SDL2", + "SDL3", } configuration { "vs*" } links { - "SDL2", + "SDL3", "imm32", "version", } -- cgit v1.2.3