From f11807c08edb7b66b113303cb7e133ec2dbcd527 Mon Sep 17 00:00:00 2001 From: Ihar Hubchyk Date: Fri, 24 Dec 2021 00:28:50 +0800 Subject: [PATCH] Revert back SDL version for Windows (#4831) It generate a huge non-proportional cursors on SDL 2 --- script/windows/install_packages.bat | 2 +- script/windows/setup_packages.bat | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/windows/install_packages.bat b/script/windows/install_packages.bat index 5f340bf33a6..d852fbbbb2f 100644 --- a/script/windows/install_packages.bat +++ b/script/windows/install_packages.bat @@ -12,7 +12,7 @@ xcopy /Y /Q "..\..\VisualStudio\packages\zlib1.2.11.zip" "%tempPath%\zlib\" echo [2/6] Downloading packages powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.libsdl.org/release/SDL-devel-1.2.15-VC.zip', '%tempPath%\sdl\sdl.zip')" echo [3/6] Downloading packages -powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.libsdl.org/release/SDL2-devel-2.0.18-VC.zip', '%tempPath%\sdl\sdl2.zip')" +powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.libsdl.org/release/SDL2-devel-2.0.12-VC.zip', '%tempPath%\sdl\sdl2.zip')" echo [4/6] Downloading packages powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-devel-1.2.12-VC.zip', '%tempPath%\sdl_mixer\sdl_mixer.zip')" echo [5/6] Downloading packages diff --git a/script/windows/setup_packages.bat b/script/windows/setup_packages.bat index d9b2f257036..490fd688f85 100644 --- a/script/windows/setup_packages.bat +++ b/script/windows/setup_packages.bat @@ -11,8 +11,8 @@ if not exist "sdl2\lib" mkdir "sdl2\lib" xcopy /Y /s /Q "temp\sdl\SDL-1.2.15\include" "sdl\include" xcopy /Y /s /Q "temp\sdl\SDL-1.2.15\lib" "sdl\lib" -xcopy /Y /s /Q "temp\sdl\SDL2-2.0.18\include" "sdl2\include" -xcopy /Y /s /Q "temp\sdl\SDL2-2.0.18\lib" "sdl2\lib" +xcopy /Y /s /Q "temp\sdl\SDL2-2.0.12\include" "sdl2\include" +xcopy /Y /s /Q "temp\sdl\SDL2-2.0.12\lib" "sdl2\lib" xcopy /Y /s /Q "temp\sdl_mixer\SDL_mixer-1.2.12\include" "sdl\include" xcopy /Y /Q "temp\sdl_mixer\SDL_mixer-1.2.12\lib\x86\SDL_mixer.dll" "sdl\lib\x86"