Skip to content

Switch all examples using SDL to SDL3#111

Merged
sharkwouter merged 5 commits into
masterfrom
switch-to-sdl3
Jul 11, 2026
Merged

Switch all examples using SDL to SDL3#111
sharkwouter merged 5 commits into
masterfrom
switch-to-sdl3

Conversation

@sharkwouter

Copy link
Copy Markdown
Member

Upstream no longer supports SDL2, so it makes sense to switch over to SDL3. In this MR I port all of our examples over and improve error handling and comments in the code. I hope I didn't make any new mistakes. Please proof read this for me before merging. I'm not very good at finding my own writing errors.

The examples should all build now. The test build will let us know. I did rename some files to make them make sense. The biggest change is that the sdl image example no longer requires sdl image, because sdl natively supports png now.

@diamant3 diamant3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not find any issues, it's neat for me! But unfortunately I can't test them, so I'll just let you handle the merging. Thanks, Wouter!

@sharkwouter sharkwouter merged commit b96bc7b into master Jul 11, 2026
3 checks passed
@sharkwouter sharkwouter deleted the switch-to-sdl3 branch July 11, 2026 09:47
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