Skip to content

Commit

Permalink
Revert back SDL version for Windows (#4831)
Browse files Browse the repository at this point in the history
It generate a huge non-proportional cursors on SDL 2
  • Loading branch information
ihhub authored Dec 23, 2021
1 parent 6da2ccb commit f11807c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion script/windows/install_packages.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions script/windows/setup_packages.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f11807c

Please sign in to comment.