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 dependent code and makefile segments to prepare for SDL3 #497

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

nbriggs
Copy link
Collaborator

@nbriggs nbriggs commented Mar 28, 2024

Many APIs have changed between SDL2 and SDL3. This update adds preprocessor conditionals to adapt the Maiko SDL code to allow selection of the SDL major version (2 or 3) from the
-DSDL=n define. The expectation is that when SDL 3 is released and has become widely available the processor conditionals could be removed.

The SDL3 implementation is currently available as a preview release, 3.1.0, at
SDL3 prerelease 3.1.0

Many APIs have changed between SDL2 and SDL3.  This update adds
preprocessor conditionals to adapt the Maiko SDL code to allow selection of
the SDL major version (2 or 3) from the -DSDL=n define.

The SDL3 implementation is currently available as a preview release, 3.1.0, at
   https://github.com/libsdl-org/SDL/releases/tag/prerelease-3.1.0
@nbriggs nbriggs marked this pull request as draft March 28, 2024 00:56
@nbriggs
Copy link
Collaborator Author

nbriggs commented Mar 28, 2024

Needs CMake update to support SDL 2/3 choice. Marked as draft until that is completed.

@nbriggs
Copy link
Collaborator Author

nbriggs commented May 7, 2024

See CMake issue 25816

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant