Skip to content

Commit

Permalink
Upgrade SDL2 to 2.30.12
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo committed Feb 8, 2025
1 parent 45dcb03 commit 2c0a0e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 3rdParty/SDL2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set(SDL_TEST_ENABLED_BY_DEFAULT OFF)
include(functions/FetchContent_MakeAvailableExcludeFromAll)
include(FetchContent)
FetchContent_Declare(SDL2
URL https://github.com/libsdl-org/SDL/releases/download/release-2.30.10/SDL2-2.30.10.tar.gz
URL_HASH SHA256=f59adf36a0fcf4c94198e7d3d776c1b3824211ab7aeebeb31fe19836661196aa
URL https://github.com/libsdl-org/SDL/releases/download/release-2.30.12/SDL2-2.30.12.tar.gz
URL_HASH SHA256=ac356ea55e8b9dd0b2d1fa27da40ef7e238267ccf9324704850d5d47375b48ea
)
FetchContent_MakeAvailableExcludeFromAll(SDL2)
2 changes: 1 addition & 1 deletion Packaging/windows/mingw-prep.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

SDLDEV_VERS=2.30.10
SDLDEV_VERS=2.30.12
SODIUM_VERS=1.0.20

# exit when any command fails
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
private static final String TAG = "SDL";
private static final int SDL_MAJOR_VERSION = 2;
private static final int SDL_MINOR_VERSION = 30;
private static final int SDL_MICRO_VERSION = 10;
private static final int SDL_MICRO_VERSION = 12;
/*
// Display InputType.SOURCE/CLASS of events and devices
//
Expand Down Expand Up @@ -311,7 +311,7 @@ public static void initialize() {
mNextNativeState = NativeState.INIT;
mCurrentNativeState = NativeState.INIT;
}

protected SDLSurface createSDLSurface(Context context) {
return new SDLSurface(context);
}
Expand Down
2 changes: 1 addition & 1 deletion tools/update_sdl_android_project.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

SDL_BASE=https://raw.githubusercontent.com/libsdl-org/SDL/release-2.30.10
SDL_BASE=https://raw.githubusercontent.com/libsdl-org/SDL/release-2.30.12
FILES=(
HIDDevice.java
HIDDeviceBLESteamController.java
Expand Down

0 comments on commit 2c0a0e0

Please sign in to comment.