Boot vulkan without a surface
This commit is contained in:
parent
306303b9a6
commit
77b23a58f0
7 changed files with 92 additions and 44 deletions
|
|
@ -3538,10 +3538,7 @@ static int D_InitGame(const FIWADInfo* iwad_info, std::vector<std::string>& allw
|
|||
}
|
||||
|
||||
if (RunningAsTool)
|
||||
{
|
||||
// To do: is enough of the engine initialized now for running tool commandlets?
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (StartScreen)
|
||||
{
|
||||
|
|
@ -3852,6 +3849,15 @@ static int D_DoomMain_Internal (void)
|
|||
iwad_man = NULL;
|
||||
if (ret != 0) return ret;
|
||||
|
||||
if (RunningAsTool)
|
||||
{
|
||||
// To do: We got a game loaded and can now process commandlets
|
||||
|
||||
Printf("\n");
|
||||
Printf("Specify " TEXTCOLOR_ORANGE "--help" TEXTCOLOR_NORMAL " for a list of commands\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
D_DoAnonStats();
|
||||
I_UpdateWindowTitle();
|
||||
D_DoomLoop (); // this only returns if a 'restart' CCMD is given.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue