mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-30 05:18:13 +08: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(state->flags);
|
||||||
SDL_InitSubSystem(SDL_INIT_CAMERA);
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user