A macro to standardize error reporting on unsupported operations.
Defined in <SDL3/SDL_error.h>
#define SDL_Unsupported() SDL_SetError("That operation is not supported")
This simply calls SDL_SetError() with a standardized error string, for convenience, consistency, and clarity.
It is safe to call this macro from any thread.
This macro is available since SDL 3.1.3.