From 09e105ff272ed49746237a04aefa4a1599b2aa87 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 1 Sep 2025 09:22:55 +0100 Subject: [PATCH] dos: update SDL, disable per-pixel lighting Updated SDL has better keyboard handling, including arrow keys and text input support. --- 3rdParty/SDL2/CMakeLists.txt | 4 ++-- CMake/platforms/dos.cmake | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/3rdParty/SDL2/CMakeLists.txt b/3rdParty/SDL2/CMakeLists.txt index eee6b5a91..787c8eb49 100644 --- a/3rdParty/SDL2/CMakeLists.txt +++ b/3rdParty/SDL2/CMakeLists.txt @@ -19,8 +19,8 @@ if(TARGET_PLATFORM STREQUAL "dos") set(DOS ON) FetchContent_Declare(SDL2 # branch: dos-vbe-rebase - URL https://github.com/diasurgical/SDL/archive/6a87741b50e52b93852eb8ab59a89495ae9e607b.tar.gz - URL_HASH MD5=a41f10f31b3ec00256c85131291bb0c3 + URL https://github.com/diasurgical/SDL/archive/d9cf9066d9cb796b56d1d70c9c560c055a32149b.tar.gz + URL_HASH MD5=9ad9ae69ee0266c895e79cf05a1e0e49 ) else() FetchContent_Declare(SDL2 diff --git a/CMake/platforms/dos.cmake b/CMake/platforms/dos.cmake index 95712941e..4d1d873e3 100644 --- a/CMake/platforms/dos.cmake +++ b/CMake/platforms/dos.cmake @@ -4,6 +4,7 @@ set(DIST ON) set(NONET ON) set(NOSOUND ON) +set(DEFAULT_PER_PIXEL_LIGHTING false) set(PREFILL_PLAYER_NAME ON)