SDL Wiki
(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_WasInit

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

Syntax

Uint32 SDL_WasInit(Uint32 flags);

Function Parameters

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

Return Value

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

The return value does not include SDL_INIT_NOPARACHUTE.

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryInit


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.