Hide driver name from window title

master
MoNTE48 2021-12-26 02:22:27 +01:00
parent 8763f41ed9
commit 168acbd050
1 changed files with 2 additions and 0 deletions

View File

@ -1412,9 +1412,11 @@ bool Game::createClient(const GameStartData &start_data)
std::wstring str = utf8_to_wide(PROJECT_NAME_C);
str += L" ";
str += utf8_to_wide(g_version_hash);
#ifndef NDEBUG
str += L" [";
str += driver->getName();
str += L"]";
#endif
device->setWindowCaption(str.c_str());
LocalPlayer *player = client->getEnv().getLocalPlayer();