Merge pull request #12546 from Mailaender/sdl2-2.0.5
Updated Windows SDL2 to version 2.0.5
This commit is contained in:
6
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
6
thirdparty/fetch-thirdparty-deps-windows.sh
vendored
@@ -19,9 +19,9 @@ function get()
|
||||
|
||||
if [ ! -f SDL2.dll ]; then
|
||||
echo "Fetching SDL2 from libsdl.org"
|
||||
wget https://www.libsdl.org/release/SDL2-2.0.4-win32-x86.zip
|
||||
unzip SDL2-2.0.4-win32-x86.zip SDL2.dll
|
||||
rm SDL2-2.0.4-win32-x86.zip
|
||||
wget 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
|
||||
fi
|
||||
|
||||
if [ ! -f freetype6.dll ]; then
|
||||
|
||||
4
thirdparty/fetch-thirdparty-deps.ps1
vendored
4
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -70,7 +70,7 @@ if (!(Test-Path "windows/SDL2.dll"))
|
||||
echo "Fetching SDL2 from libsdl.org"
|
||||
|
||||
# Download zip:
|
||||
$zipFileName = "SDL2-2.0.4-win32-x86.zip"
|
||||
$zipFileName = "SDL2-2.0.5-win32-x86.zip"
|
||||
$target = Join-Path $pwd.ToString() $zipFileName
|
||||
(New-Object System.Net.WebClient).DownloadFile("https://www.libsdl.org/release/" + $zipFileName, $target)
|
||||
|
||||
@@ -82,7 +82,7 @@ if (!(Test-Path "windows/SDL2.dll"))
|
||||
$destination.Copyhere($zipFile.items())
|
||||
|
||||
# Remove junk files:
|
||||
rm SDL2-2.0.4-win32-x86.zip
|
||||
rm SDL2-2.0.5-win32-x86.zip
|
||||
rm -path "$currentPath\windows\README-SDL.txt"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user