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 initial port of SDL3 #23630

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 8, 2025

I just got a couple of test working, but everything seems good so far.

Fixes: #23608

@sbc100 sbc100 marked this pull request as draft February 8, 2025 20:59
@sbc100 sbc100 mentioned this pull request Feb 8, 2025
So far I haven't got any browser tests working.

Fixes: emscripten-core#23608
@sbc100 sbc100 changed the title [WIP] Add port of SDL3 Add initial port of SDL3 Feb 10, 2025
@sbc100 sbc100 marked this pull request as ready for review February 10, 2025 00:48
@sbc100
Copy link
Collaborator Author

sbc100 commented Feb 10, 2025

CC @slouken @icculus

@sbc100 sbc100 requested a review from kripken February 10, 2025 00:48


def process_args(ports):
return ['-isystem', ports.get_include_dir('SDL3')]
Copy link
Collaborator Author

@sbc100 sbc100 Feb 10, 2025

Choose a reason for hiding this comment

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

@icculus should we inject this include path like this? Or are all users expected to include via "SDL3/xxxx.h"?

Copy link

Choose a reason for hiding this comment

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

For SDL3, all users are supposed to include the SDL3 prefix:

#include <SDL3/SDL.h>

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.

Built-in SDL3 port
2 participants