Fallback to display thread id of no name was assigned, OpenVulkano::Utils::GetThreadId()

This commit is contained in:
Vladyslav Baranovskyi
2024-05-30 17:52:02 +03:00
parent 3127af5bc7
commit 75b5f635ef
3 changed files with 23 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ namespace OpenVulkano
public:
static void SetThreadName(const std::string& name);
static std::string GetThreadName();
static uint64_t GetThreadId();
static inline std::vector<const char*> toCString(const std::vector<std::string>& values)
{