Implement SDL3#45
Merged
AbnormalPoof merged 1 commit intomobile/mainfrom Mar 10, 2026
Merged
Conversation
0f47352 to
8ae7965
Compare
1a8b47a to
c0ce77b
Compare
a2c48cc to
718ca3c
Compare
Co-Authored-By: Karim Akra <144803230+KarimAkra@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pr updates the library from using
SDL2to useSDL3and it also includes the following upgrades:SDL3already follow thier behaviour.iOSandtvOSto use theinclude.xmlfor easier setup.Gladloader for GL functions which fixes some crashes on some machines.GLESver to3.0onAndroid,iOSandtvOS.onKeyDownPercise,onKeyUpPercise,onButtonDownPreciseandonButtonUpPreciseuse nanoseconds for timestamps making the input even more percise.System.getTimer()return aFloat.gyroandaccelsensors onHTML5.MessageBoxesalerts for multiple buttons on all native targets.mojoalso it can work withSDL3.tinyfiledialogsand replaced it withSDL3's Dialog API (it adds the following things).Android.DialogAPI is fully async from the native which makes our handling much easier.lime.utils.BytescalledtoFilewhich usesSDL3's api to write to files, this mainly comes handy for file dialogs onAndroidsince the file dialogs givecontent://paths instead of normal paths.onDropText,onDropBegin,onDropCompleteandonDropPossitionon both native andHTML5.