SDL_WasInit
Get a mask of the specified subsystems which are currently initialized.
- Provided by: libsdl3-doc (Version: 3.4.2+ds-1ubuntu1)
- Source: libsdl3
- Report a bug
Get a mask of the specified subsystems which are currently initialized.
#include <SDL3/SDL_init.h>
SDL_InitFlags SDL_WasInit(SDL_InitFlags flags);
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.