Update Windows SDL2 dependency to 2.0.10.
This commit is contained in:
12
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
12
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
@@ -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
|
||||
|
||||
|
||||
2
thirdparty/fetch-thirdparty-deps.ps1
vendored
2
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user