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

Add options to disable SDL2_net and SDL2_mixer for increased portability #1480

Merged
merged 8 commits into from
Jul 15, 2022

Conversation

turol
Copy link
Member

@turol turol commented Jul 12, 2022

Add options to disable SDL2_net and SDL2_mixer for increased portability.

emscripten for example has no conventional networking so SDL2_net does nothing useful there.

Several old/strange platforms have problems with audio and porting to them might benefit from the ability to just disable it at compile time.

This still leaves in most of the support code since removing it would be extremely invasive. Also base SDL2 is required for multiple functions. Removing it might be useful for truly strange platforms, fuzzing or using tools like rr which don't like hardware rendering. It might be useful to add an option for that as well in the future.

@turol
Copy link
Member Author

turol commented Jul 12, 2022

The linter definitely seems to complain about lines I didn't change. This is strange because the actual command tells it the right lines.

Copy link
Member

@fabiangreffrath fabiangreffrath left a comment

Choose a reason for hiding this comment

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

LGTM

@turol turol merged commit 67715d6 into chocolate-doom:master Jul 15, 2022
@turol turol deleted the disable-sdl branch July 15, 2022 22:25
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.

None yet

2 participants