summaryrefslogtreecommitdiffstats
path: root/Common/NativeApp/src
diff options
context:
space:
mode:
authorEgor <egor.yusov@gmail.com>2019-10-26 16:00:06 +0000
committerEgor <egor.yusov@gmail.com>2019-10-26 16:00:06 +0000
commitab11e50229e6e5a6b82aab8ebf3d93bec27a9b93 (patch)
tree25a6a0923ceffb97161169b8f8fbbf8d6a4fd44a /Common/NativeApp/src
parentUpdated samples (fixed linux build error) (diff)
downloadDiligentEngine-ab11e50229e6e5a6b82aab8ebf3d93bec27a9b93.tar.gz
DiligentEngine-ab11e50229e6e5a6b82aab8ebf3d93bec27a9b93.zip
Linux app: fixed window title
Diffstat (limited to 'Common/NativeApp/src')
-rw-r--r--Common/NativeApp/src/Linux/LinuxMain.cpp3
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();