Headless: Cleanup extraneous output.

This commit is contained in:
Unknown W. Brackets 2021-08-07 17:55:04 -07:00
parent 9882f2854a
commit 0a5a3d4ef4

View File

@ -332,8 +332,6 @@ int main(int argc, const char* argv[])
if (testFilenames.empty())
return printUsage(argv[0], argc <= 1 ? NULL : "No executables specified");
g_threadManager.Init(cpu_info.num_cores, cpu_info.logical_cpu_count);
LogManager::Init(&g_Config.bEnableLogging);
LogManager *logman = LogManager::GetInstance();
@ -346,6 +344,9 @@ int main(int argc, const char* argv[])
}
logman->AddListener(printfLogger);
// Needs to be after log so we don't interfere with test output.
g_threadManager.Init(cpu_info.num_cores, cpu_info.logical_cpu_count);
HeadlessHost *headlessHost = getHost(gpuCore);
headlessHost->SetGraphicsCore(gpuCore);
host = headlessHost;