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_SetInitialized - Finish an initialization state transition.

Availability

       This function is available since SDL 3.2.0.

Description

       This   function   sets   the   status   of   the   passed  in  state  to  SDL_INIT_STATUS_INITIALIZED  or
       SDL_INIT_STATUS_UNINITIALIZED and allows any threads waiting for the status to proceed.

Function Parameters

state  the initialization state to check.

       initialized
              the new initialization state.

Name

       SDL_SetInitialized - Finish an initialization state transition.

See Also

SDL_ShouldInit(3), SDL_ShouldQuit(3)

Simple Directmedia Layer                           SDL 3.2.20                              SDL_SetInitialized(3)

Synopsis

#include<SDL3/SDL_mutex.h>voidSDL_SetInitialized(SDL_InitState*state,boolinitialized);

Thread Safety

       It is safe to call this function from any thread.

See Also