Skip to content

Switch to sdl3 - #100

Merged
sharkwouter merged 18 commits into
masterfrom
switch-to-SDL3
Jun 18, 2026
Merged

sharkwouter merged 18 commits into
masterfrom
switch-to-SDL3

Conversation

@sharkwouter

@sharkwouter sharkwouter commented Jun 15, 2026

Copy link
Copy Markdown
Owner

This is still WIP. I still need to fix the following:

  • Tinygettext relies on SDL2, which is annoying. I should upgrade to a version that supports SDL3.
  • I should build SDL3 without X11 support on Linux. It is not that relevant anymore.
  • Sound mixing is still a mess. I should split up into "channels" like before again.
  • I still have to make sure all other options in the options menu work like before. There might be new bugs.
  • I should run valgrind once more.
  • I should fix the github action builds for all platforms. Right now they are basically all broken.
  • Wii support needs to be fixed to not try to use SDL2.

There are 2 reasons for this PR:

  1. SDL2 is no longer supported upstream.
  2. Doing Android support should be easier with SDL3.

@sharkwouter
sharkwouter marked this pull request as draft June 15, 2026 20:52
@sharkwouter

Copy link
Copy Markdown
Owner Author

@mardy do you know if the Wii has SDL3 yet?

@sharkwouter

Copy link
Copy Markdown
Owner Author

I have most of the builds working. I might have to drop Wii support if I don't find a way to build for it again with SDL3. I still need to fix sounds, translation support and fix some compiler warnings. I'll probably have to patch tinygettext.

@sharkwouter

Copy link
Copy Markdown
Owner Author

Sound mixing is still weird in a way I cannot explain. I made a bug report upstream: libsdl-org/SDL_mixer#868

@sharkwouter
sharkwouter marked this pull request as ready for review June 18, 2026 16:22
@sharkwouter
sharkwouter merged commit e23104f into master Jun 18, 2026
16 checks passed
@sharkwouter
sharkwouter deleted the switch-to-SDL3 branch June 18, 2026 16:22
@mardy

mardy commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@mardy do you know if the Wii has SDL3 yet?

No, we don't support it (yet).

@sharkwouter

Copy link
Copy Markdown
Owner Author

Shame, hope there will be one before the next release. Would be a shame to not have Wii support with that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants