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

Maiko SDL code for SDL3 requires update for release version of SDL3 3.1.2 #1794

Open
nbriggs opened this issue Aug 3, 2024 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@nbriggs
Copy link
Contributor

nbriggs commented Aug 3, 2024

There appear to have been some significant changes to the APIs between the prerelease SDL 3.1.0 and the release version 3.1.2 that is currently available. At least the following areas need to be addressed before we can compile/run with the released SDL3

  • some key names have changed:
    SDLK_QUOTE renamed SDLK_APOSTROPHE
    SDLK_BACKQUOTE renamed SDLK_GRAVE
  • SDL_GetRendererInfo has been removed and replaced by a generic property mechanism
  • signature of SDL_CreateRenderer() has changed

There may be additional considerations beyond the compilation errors that result from the above.

@nbriggs nbriggs added the enhancement New feature or request label Aug 3, 2024
@nbriggs nbriggs added this to maiko Aug 3, 2024
@nbriggs
Copy link
Contributor Author

nbriggs commented Sep 16, 2024

There have been more significant API changes from early prerelease SDL3 code to "current" SDL3 code (still unreleased). In order to test with SDL3, until there is a real release, you need to fetch assets from a workflow build action -- see for example libsdl actions - but the maiko SDL3 code isn't going to keep up with the API changes until there's a real release.

@pamoroso
Copy link
Contributor

pamoroso commented Oct 5, 2024

@nbriggs
Copy link
Contributor Author

nbriggs commented Oct 5, 2024

I'll look at this again in a couple of weeks. When I looked at the feature differences between SDL2 and SDL3 I didn't see anything that would obviously benefit maiko.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants