Lines Matching refs:SDL_initialized
56 static Uint32 SDL_initialized = 0; variable
69 if ( (flags & SDL_INIT_VIDEO) && !(SDL_initialized & SDL_INIT_VIDEO) ) { in SDL_InitSubSystem()
74 SDL_initialized |= SDL_INIT_VIDEO; in SDL_InitSubSystem()
85 if ( (flags & SDL_INIT_AUDIO) && !(SDL_initialized & SDL_INIT_AUDIO) ) { in SDL_InitSubSystem()
89 SDL_initialized |= SDL_INIT_AUDIO; in SDL_InitSubSystem()
104 if ( (flags & SDL_INIT_TIMER) && !(SDL_initialized & SDL_INIT_TIMER) ) { in SDL_InitSubSystem()
108 SDL_initialized |= SDL_INIT_TIMER; in SDL_InitSubSystem()
120 !(SDL_initialized & SDL_INIT_JOYSTICK) ) { in SDL_InitSubSystem()
124 SDL_initialized |= SDL_INIT_JOYSTICK; in SDL_InitSubSystem()
135 if ( (flags & SDL_INIT_CDROM) && !(SDL_initialized & SDL_INIT_CDROM) ) { in SDL_InitSubSystem()
139 SDL_initialized |= SDL_INIT_CDROM; in SDL_InitSubSystem()
177 if ( (flags & SDL_initialized & SDL_INIT_CDROM) ) { in SDL_QuitSubSystem()
179 SDL_initialized &= ~SDL_INIT_CDROM; in SDL_QuitSubSystem()
183 if ( (flags & SDL_initialized & SDL_INIT_JOYSTICK) ) { in SDL_QuitSubSystem()
185 SDL_initialized &= ~SDL_INIT_JOYSTICK; in SDL_QuitSubSystem()
189 if ( (flags & SDL_initialized & SDL_INIT_TIMER) ) { in SDL_QuitSubSystem()
191 SDL_initialized &= ~SDL_INIT_TIMER; in SDL_QuitSubSystem()
195 if ( (flags & SDL_initialized & SDL_INIT_AUDIO) ) { in SDL_QuitSubSystem()
197 SDL_initialized &= ~SDL_INIT_AUDIO; in SDL_QuitSubSystem()
201 if ( (flags & SDL_initialized & SDL_INIT_VIDEO) ) { in SDL_QuitSubSystem()
203 SDL_initialized &= ~SDL_INIT_VIDEO; in SDL_QuitSubSystem()
213 return (SDL_initialized&flags); in SDL_WasInit()
284 if (SDL_initialized & SDL_INIT_AUDIO) in SDL_Main_ExceptionHandler()