From 8d23994a045709094476f149125f34d7a83963e7 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 2 Feb 2020 10:13:47 +0000 Subject: [PATCH] Update Windows SDL2 dependency to 2.0.10. --- thirdparty/fetch-thirdparty-deps-windows.sh | 12 ++++++------ thirdparty/fetch-thirdparty-deps.ps1 | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/thirdparty/fetch-thirdparty-deps-windows.sh b/thirdparty/fetch-thirdparty-deps-windows.sh index 61e5669a60..0db6e09777 100755 --- a/thirdparty/fetch-thirdparty-deps-windows.sh +++ b/thirdparty/fetch-thirdparty-deps-windows.sh @@ -21,13 +21,13 @@ cd "${download_dir}" || exit 1 if [ ! -f SDL2.dll ]; then echo "Fetching SDL2 from libsdl.org" if [ "$1" = "x86" ]; then - curl -LOs https://www.libsdl.org/release/SDL2-2.0.5-win32-x86.zip - unzip SDL2-2.0.5-win32-x86.zip SDL2.dll - rm SDL2-2.0.5-win32-x86.zip + curl -LOs https://www.libsdl.org/release/SDL2-2.0.10-win32-x86.zip + unzip SDL2-2.0.10-win32-x86.zip SDL2.dll + rm SDL2-2.0.10-win32-x86.zip else - curl -LOs https://www.libsdl.org/release/SDL2-2.0.5-win32-x64.zip - unzip SDL2-2.0.5-win32-x64.zip SDL2.dll - rm SDL2-2.0.5-win32-x64.zip + curl -LOs https://www.libsdl.org/release/SDL2-2.0.10-win32-x64.zip + unzip SDL2-2.0.10-win32-x64.zip SDL2.dll + rm SDL2-2.0.10-win32-x64.zip fi fi diff --git a/thirdparty/fetch-thirdparty-deps.ps1 b/thirdparty/fetch-thirdparty-deps.ps1 index 3fc16ca56d..50ba94fa19 100644 --- a/thirdparty/fetch-thirdparty-deps.ps1 +++ b/thirdparty/fetch-thirdparty-deps.ps1 @@ -40,7 +40,7 @@ if (!(Test-Path "windows/SDL2.dll")) echo "Fetching SDL2 from libsdl.org" # Download zip: - $zipFileName = "SDL2-2.0.5-win32-x64.zip" + $zipFileName = "SDL2-2.0.10-win32-x64.zip" $target = Join-Path $pwd.ToString() $zipFileName (New-Object System.Net.WebClient).DownloadFile("https://www.libsdl.org/release/" + $zipFileName, $target)