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

SDL: Upgrade to SDL3 #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

SDL: Upgrade to SDL3 #44

wants to merge 2 commits into from

Conversation

er2off
Copy link

@er2off er2off commented Feb 4, 2025

This pull request moves support from SDL2 to SDL3 (which was released 2 weeks ago as 3.2.0)

This change also includes changes from #37 and #42 as well.

Some variables were also replaced from int to bool as SDL3.h implicitly includes stdbool.h

Also sowon was moved to SDL3 main functions from classic main function for compatibility across platforms (including Windows and platforms with less straightforward lifecycle such as Android or WebAssembly)

About gh Actions: Linux and macOS are so very modern so they don't have SDL3 yet, luckily FreeBSD have (and for Windows SDL3 explicitly downloads)

This will allow to safely use this app under WASM or Android or
something else.
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.

1 participant