Skip to content

Commit

Permalink
Update SDL to 2.30.9
Browse files Browse the repository at this point in the history
  • Loading branch information
PunkPun authored and penev92 committed Nov 16, 2024
1 parent f1ca114 commit 058e1a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-natives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build native dependencies (SDL2)
# Change SDL2 version based on https://github.com/libsdl-org/SDL/releases, but remember to check what SDL2 version SDL2-CS targets.
# Change Chromium revision numbers based on https://chromium.woolyss.com/download/.
env:
SDL2_VERSION: 2.30.6 # Make sure this matches the version mentioned in the description in the .nuspec file.
SDL2_VERSION: 2.30.9 # Make sure this matches the version mentioned in the description in the .nuspec file.
CHROMIUM_BUILD_x86: 1136315
CHROMIUM_BUILD_x64: 1136314

Expand Down
2 changes: 1 addition & 1 deletion OpenRA-SDL2-CS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
This is a version of SDL2-CS modified and packaged for OpenRA.
The package includes the C# wrapper (SDL2-CS) and the native binaries for SDL2 and targets version 2.30.6 of the native project.
The package includes the C# wrapper (SDL2-CS) and the native binaries for SDL2 and targets version 2.30.9 of the native project.
</description>
<copyright>
- Copyright (c) 2013-2021 Ethan Lee
Expand Down
4 changes: 4 additions & 0 deletions src/SDL2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,10 @@ public static string SDL_GetPlatform()
public const string SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE =
"SDL_QUIT_ON_LAST_WINDOW_CLOSE";

/* Only available in 2.24.0 or higher. */
public const string SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH =
"SDL_MAC_OPENGL_ASYNC_DISPATCH";

public enum SDL_HintPriority
{
SDL_HINT_DEFAULT,
Expand Down

0 comments on commit 058e1a1

Please sign in to comment.