Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDL to 2.30.9 #20

Merged
merged 1 commit into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading