diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c index d900f27a7f..a72e63faf6 100644 --- a/src/test/SDL_test_common.c +++ b/src/test/SDL_test_common.c @@ -1523,9 +1523,7 @@ bool SDLTest_CommonInit(SDLTest_CommonState *state) } } - if (state->flags & SDL_INIT_CAMERA) { - SDL_InitSubSystem(SDL_INIT_CAMERA); - } + SDL_InitSubSystem(state->flags); return true; }