mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Allow any init flags to be passed to SDLTest_CommonCreateState()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user