mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-15 16:16:26 +00:00
Windows fixes
This commit is contained in:
@@ -375,7 +375,7 @@ public:
|
||||
int clientReturn = 0;
|
||||
std::thread clientThread([&]()
|
||||
{
|
||||
std::string thrName = WCSTMBS(getFriendlyName().c_str()) + " Client Thread";
|
||||
std::string thrName = WCSTMBS(getFriendlyName().data()) + " Client Thread";
|
||||
logvisor::RegisterThreadName(thrName.c_str());
|
||||
CoInitializeEx(nullptr, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE);
|
||||
clientReturn = m_callback.appMain(this);
|
||||
@@ -486,7 +486,7 @@ int ApplicationRun(IApplication::EPlatformType platform,
|
||||
const std::vector<SystemString>& args,
|
||||
bool singleInstance)
|
||||
{
|
||||
std::string thrName = WCSTMBS(friendlyName.c_str()) + " Main Thread";
|
||||
std::string thrName = WCSTMBS(friendlyName.data()) + " Main Thread";
|
||||
logvisor::RegisterThreadName(thrName.c_str());
|
||||
if (APP)
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user