Skip to content

Commit 16f419e

Browse files
committed
Update SDL to 3.4.20
1 parent 5e3f2fd commit 16f419e

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎.github/workflows/python-package.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ defaults:
1818

1919
env:
2020
git-depth: 0 # Depth to search for tags.
21-
sdl-version: "3.4.18" # SDL version to bundle
21+
sdl-version: "3.4.20" # SDL version to bundle
2222

2323
jobs:
2424
ruff:
@@ -83,7 +83,7 @@ jobs:
8383
strategy:
8484
matrix:
8585
os: ["windows-latest", "macos-latest"]
86-
sdl-version: ["3.2.30", "3.4.18"]
86+
sdl-version: ["3.2.30", "3.4.20"]
8787
fail-fast: true
8888
steps:
8989
- uses: actions/checkout@v7

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
99
### Changed
1010

1111
- Updated libtcod to 2.3.0
12+
- Updated bundled SDL to 3.4.20
1213

1314
## [21.2.2] - 2026-10-22
1415

‎build_sdl.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ def python_machine() -> str:
4646
# Reject versions of SDL older than this, update the requirements in the readme if you change this.
4747
SDL_MIN_VERSION = (3, 2, 0)
4848
# The SDL version to parse and export symbols from.
49-
SDL_PARSE_VERSION = os.environ.get("SDL_VERSION", "3.4.18")
49+
SDL_PARSE_VERSION = os.environ.get("SDL_VERSION", "3.4.20")
5050
# The SDL version to include in binary distributions.
51-
SDL_BUNDLE_VERSION = os.environ.get("SDL_VERSION", "3.4.18")
51+
SDL_BUNDLE_VERSION = os.environ.get("SDL_VERSION", "3.4.20")
5252

5353

5454
# Used to remove excessive newlines in debug outputs.

‎tcod/sdl/constants.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@
366366
SDL_HINT_PS2_GS_HEIGHT = "SDL_PS2_GS_HEIGHT"
367367
SDL_HINT_PS2_GS_PROGRESSIVE = "SDL_PS2_GS_PROGRESSIVE"
368368
SDL_HINT_PS2_GS_MODE = "SDL_PS2_GS_MODE"
369+
SDL_HINT_PS2_GS_COLOR_DEPTH = "SDL_PS2_GS_COLOR_DEPTH"
369370
SDL_HINT_RPI_VIDEO_LAYER = "SDL_RPI_VIDEO_LAYER"
370371
SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME = "SDL_SCREENSAVER_INHIBIT_ACTIVITY_NAME"
371372
SDL_HINT_SHUTDOWN_DBUS_ON_QUIT = "SDL_SHUTDOWN_DBUS_ON_QUIT"

0 commit comments

Comments
 (0)