Hide driver name from window title
This commit is contained in:
parent
8763f41ed9
commit
168acbd050
@ -1412,9 +1412,11 @@ bool Game::createClient(const GameStartData &start_data)
|
|||||||
std::wstring str = utf8_to_wide(PROJECT_NAME_C);
|
std::wstring str = utf8_to_wide(PROJECT_NAME_C);
|
||||||
str += L" ";
|
str += L" ";
|
||||||
str += utf8_to_wide(g_version_hash);
|
str += utf8_to_wide(g_version_hash);
|
||||||
|
#ifndef NDEBUG
|
||||||
str += L" [";
|
str += L" [";
|
||||||
str += driver->getName();
|
str += driver->getName();
|
||||||
str += L"]";
|
str += L"]";
|
||||||
|
#endif
|
||||||
device->setWindowCaption(str.c_str());
|
device->setWindowCaption(str.c_str());
|
||||||
|
|
||||||
LocalPlayer *player = client->getEnv().getLocalPlayer();
|
LocalPlayer *player = client->getEnv().getLocalPlayer();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user