From 82c89c0125beef3ea9609f1ae1250487e8c11205 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 27 Jul 2024 16:26:28 -0700
Subject: [PATCH] Removed redundant subystem quit calls
SDL_Quit() quits everything
---
src/test/SDL_test_common.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
index 2412ea14d412c..5372bc8506f2e 100644
--- a/src/test/SDL_test_common.c
+++ b/src/test/SDL_test_common.c
@@ -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);
}