This macro extracts the major version from a version number
Defined in <SDL3/SDL_version.h>
#define SDL_VERSIONNUM_MAJOR(version) ((version) / 1000000)| version | the version number. |
1002003 becomes 1.
It is safe to call this macro from any thread.
This macro is available since SDL 3.2.0.