Add option to name threads and name main thread

This commit is contained in:
2020-11-20 21:37:12 +01:00
parent ef80e8918f
commit 7ed8f0134f
3 changed files with 30 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ namespace openVulkanoCpp
GraphicsAppManager::GraphicsAppManager(openVulkanoCpp::IGraphicsApp* app, RenderAPI::RenderApi renderApi)
: app(app), renderApi(renderApi)
{
Utils::SetThreadName("Main");
Logger::SetupLogger();
if (!app)
{