Allow any init flags to be passed to SDLTest_CommonCreateState()

This commit is contained in:
Sam Lantinga
2025-10-15 21:44:22 -07:00
parent 6109fa6794
commit b16ad6f10f

View File

@@ -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;
}