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

Get SDL backend working on OSX #1336

Merged
merged 1 commit into from
May 15, 2022
Merged

Conversation

connorjclark
Copy link
Contributor

@connorjclark connorjclark commented May 15, 2022

ref #1335

This patch unsets ALLEGRO_MACOSX if the SDL backend is requested. Some conditions controlling GL header inclusion had to be changed to a direct platform __APPLE__ check, and a few MACOSX cmake checks had to change to ALLEGRO_MACOSX.

I'm able to build and run the ex_draw example with this change, with and without the SDL backend. Although with SDL you must disable the native dialog addon manually (-DWANT_NATIVE_DIALOG=off). Should that be done in the build by default iff ALLEGRO_SDL?

@connorjclark
Copy link
Contributor Author

Should I also try to get travis building SDL on osx in this PR, or a new one?

@SiegeLord
Copy link
Member

Thanks. We need CI for SDL on every system at some point.

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