DRAFT: Upgrade to SDL3 #1
Open
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.
Description
This pull request aims to upgrade the whole code to SDL3.
To do so, multiple header files are changed, along with functions.
Please note that SDL3 is NOT released.
Type of change
Motivation
SDL3 was announced a year ago, and with it came the following: new features and major updates (other than bug fixes) will be made on SDL3.
This marks the end of SDL2, which is already over a decade old.
How Has This Been Tested?
Multiple tests have ran, but the game opening correctly is already a good sign that everything works fine.
Additional handling
Once the pull request has been accepted, anyone pulling the repository will lose SDL2 compatibility.
It will then be necessary to carry out the SDL3 installation steps, which are similar to those described in the README.md and also to what had to be done for SDL2.