Removed redundant subystem quit calls

SDL_Quit() quits everything
This commit is contained in:
Sam Lantinga committed 2024-07-27 16:46:09 -07:00
1 parent 95dd8781ce
commit 82c89c0125
1 file changed
-9
-9
View File
@@ -2506,15 +2506,6 @@ void SDLTest_CommonQuit(SDLTest_CommonState *state)
}
SDL_free(state->windows);
}
if (state->flags & SDL_INIT_CAMERA) {
SDL_QuitSubSystem(SDL_INIT_CAMERA);
}
if (state->flags & SDL_INIT_VIDEO) {
SDL_QuitSubSystem(SDL_INIT_VIDEO);
}
if (state->flags & SDL_INIT_AUDIO) {
SDL_QuitSubSystem(SDL_INIT_AUDIO);
}
SDL_Quit();
SDLTest_CommonDestroyState(state);
}