From b16ad6f10f4f0a1cfaf512b8dd66829c0c2d5e9e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 15 Oct 2025 21:44:22 -0700 Subject: [PATCH] Allow any init flags to be passed to SDLTest_CommonCreateState() --- src/test/SDL_test_common.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }