diff options
| author | Egor <egor.yusov@gmail.com> | 2019-10-26 16:00:06 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2019-10-26 16:00:06 +0000 |
| commit | ab11e50229e6e5a6b82aab8ebf3d93bec27a9b93 (patch) | |
| tree | 25a6a0923ceffb97161169b8f8fbbf8d6a4fd44a /Common/NativeApp/src/Linux | |
| parent | Updated samples (fixed linux build error) (diff) | |
| download | DiligentEngine-ab11e50229e6e5a6b82aab8ebf3d93bec27a9b93.tar.gz DiligentEngine-ab11e50229e6e5a6b82aab8ebf3d93bec27a9b93.zip | |
Linux app: fixed window title
Diffstat (limited to 'Common/NativeApp/src/Linux')
| -rw-r--r-- | Common/NativeApp/src/Linux/LinuxMain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Common/NativeApp/src/Linux/LinuxMain.cpp b/Common/NativeApp/src/Linux/LinuxMain.cpp index 801ab49..93a3235 100644 --- a/Common/NativeApp/src/Linux/LinuxMain.cpp +++ b/Common/NativeApp/src/Linux/LinuxMain.cpp @@ -213,7 +213,6 @@ int xcb_main() std::unique_ptr<NativeAppBase> TheApp(CreateApplication());
std::string Title = TheApp->GetAppTitle();
- Title += " (Vulkan)";
auto xcbInfo = InitXCBConnectionAndWindow(Title);
TheApp->InitVulkan(xcbInfo.connection, xcbInfo.window);
@@ -221,6 +220,7 @@ int xcb_main() Timer timer;
auto PrevTime = timer.GetElapsedTime();
+ Title = TheApp->GetAppTitle();
WindowTitleHelper TitleHelper(Title);
while (true)
@@ -417,7 +417,6 @@ int x_main() glXMakeCurrent(display, win, ctx);
TheApp->OnGLContextCreated(display, win);
std::string Title = TheApp->GetAppTitle();
- Title += " (OpenGL)";
Timer timer;
auto PrevTime = timer.GetElapsedTime();
|
