Skip to content

Commit e3afb67

Browse files
committed
Downgrade SDL to 2.0.8 for Windows
Revert "Update SDL (2.0.9) for Windows" Several users experienced freezes with SDL 2.0.9. This reverts commit a5787dc. See: - <Genymobile#425> - <https://discourse.libsdl.org/t/unstable-frame-rate-unexpectedly/25783>
1 parent 4ee1391 commit e3afb67

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Makefile.CrossWindows

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ dist-win32: build-server build-win32 build-win32-noconsole
107107
cp prebuilt-deps/platform-tools/adb.exe "$(DIST)/$(WIN32_TARGET_DIR)/"
108108
cp prebuilt-deps/platform-tools/AdbWinApi.dll "$(DIST)/$(WIN32_TARGET_DIR)/"
109109
cp prebuilt-deps/platform-tools/AdbWinUsbApi.dll "$(DIST)/$(WIN32_TARGET_DIR)/"
110-
cp prebuilt-deps/SDL2-2.0.9/i686-w64-mingw32/bin/SDL2.dll "$(DIST)/$(WIN32_TARGET_DIR)/"
110+
cp prebuilt-deps/SDL2-2.0.8/i686-w64-mingw32/bin/SDL2.dll "$(DIST)/$(WIN32_TARGET_DIR)/"
111111

112112
dist-win64: build-server build-win64 build-win64-noconsole
113113
mkdir -p "$(DIST)/$(WIN64_TARGET_DIR)"
@@ -122,7 +122,7 @@ dist-win64: build-server build-win64 build-win64-noconsole
122122
cp prebuilt-deps/platform-tools/adb.exe "$(DIST)/$(WIN64_TARGET_DIR)/"
123123
cp prebuilt-deps/platform-tools/AdbWinApi.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
124124
cp prebuilt-deps/platform-tools/AdbWinUsbApi.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
125-
cp prebuilt-deps/SDL2-2.0.9/x86_64-w64-mingw32/bin/SDL2.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
125+
cp prebuilt-deps/SDL2-2.0.8/x86_64-w64-mingw32/bin/SDL2.dll "$(DIST)/$(WIN64_TARGET_DIR)/"
126126

127127
zip-win32: dist-win32
128128
cd "$(DIST)"; \

cross_win32.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ endian = 'little'
1717
[properties]
1818
prebuilt_ffmpeg_shared = 'ffmpeg-4.1.3-win32-shared'
1919
prebuilt_ffmpeg_dev = 'ffmpeg-4.1.3-win32-dev'
20-
prebuilt_sdl2 = 'SDL2-2.0.9/i686-w64-mingw32'
20+
prebuilt_sdl2 = 'SDL2-2.0.8/i686-w64-mingw32'

cross_win64.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ endian = 'little'
1717
[properties]
1818
prebuilt_ffmpeg_shared = 'ffmpeg-4.1.3-win64-shared'
1919
prebuilt_ffmpeg_dev = 'ffmpeg-4.1.3-win64-dev'
20-
prebuilt_sdl2 = 'SDL2-2.0.9/x86_64-w64-mingw32'
20+
prebuilt_sdl2 = 'SDL2-2.0.8/x86_64-w64-mingw32'

prebuilt-deps/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ prepare-ffmpeg-dev-win64:
3030
ffmpeg-4.1.3-win64-dev
3131

3232
prepare-sdl2:
33-
@./prepare-dep https://libsdl.org/release/SDL2-devel-2.0.9-mingw.tar.gz \
34-
0f9f00d0f2a9a95dfb5cce929718210c3f85432cc2e9d4abade4adcb7f6bb39d \
35-
SDL2-2.0.9
33+
@./prepare-dep https://libsdl.org/release/SDL2-devel-2.0.8-mingw.tar.gz \
34+
ffff7305d634aff5e1df5b7bb935435c3a02c8b03ad94a1a2be9169a558a7961 \
35+
SDL2-2.0.8
3636

3737
prepare-adb:
3838
@./prepare-dep https://dl.google.com/android/repository/platform-tools_r28.0.1-windows.zip \

0 commit comments

Comments
 (0)