Allow any init flags to be passed to SDLTest_CommonCreateState()
This commit is contained in:
1 parent
6109fa6794
commit
b16ad6f10f
1 file changed
+1
-3
@@ -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