Get a mask of the specified subsystems which are currently initialized.
Defined in <SDL3/SDL_init.h>
SDL_InitFlags SDL_WasInit(SDL_InitFlags flags);| SDL_InitFlags | flags | any of the flags used by SDL_Init(); see SDL_Init for details. |
(SDL_InitFlags) Returns a mask of all initialized subsystems if flags is 0, otherwise it returns the initialization status of the specified subsystems.
This function is not thread safe.
This function is available since SDL 3.2.0.