logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_WasInit - Get a mask of the specified subsystems which are currently initialized.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

flags  any of the flags used by SDL_Init (); see SDL_Init
               for details.

Header File

       Defined in SDL3/SDL_init.h

Name

       SDL_WasInit - Get a mask of the specified subsystems which are currently initialized.

Return Value

       (  SDL_InitFlags  )  Returns a mask of all initialized subsystems if flags is 0, otherwise it returns the
       initialization status of the specified subsystems.

See Also

(3), SDL_Init(3), (3), SDL_InitSubSystem(3)

Simple Directmedia Layer                           SDL 3.2.10                                     SDL_WasInit(3)

Synopsis

#include"SDL3/SDL.h"SDL_InitFlagsSDL_WasInit(SDL_InitFlagsflags);

See Also