diff options
| author | 2026-02-07 13:32:37 -0500 | |
|---|---|---|
| committer | 2026-02-07 13:32:37 -0500 | |
| commit | 8349e95e3e0ea4d3081739e2b8bb5787b9e366ba (patch) | |
| tree | 89c058b1454f3c898fb918dc2ce1c7a2fb701e4b /scripts/src/tools.lua | |
| parent | dba6d057f1186642e73eb7fa020aabf9647b163f (diff) | |
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.
Diffstat (limited to 'scripts/src/tools.lua')
| -rw-r--r-- | scripts/src/tools.lua | 5 |
1 files changed, 2 insertions, 3 deletions
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", } |
