SDL_VERSIONNUM_MAJOR - Man Page
This macro extracts the major version from a version number
Header File
Defined in SDL3/SDL_version.h
Synopsis
#include "SDL3/SDL.h" #define SDL_VERSIONNUM_MAJOR(version) ((version) / 1000000)
Description
1002003 becomes 1.
Availability
This macro is available since SDL 3.2.0.
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS