Browse Source

Removed redundant subystem quit calls

SDL_Quit() quits everything
Sam Lantinga 8 months ago
parent
commit
82c89c0125
1 changed files with 0 additions and 9 deletions
  1. 0 9
      src/test/SDL_test_common.c

+ 0 - 9
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);
 }