From e642432901696da00330c6902dee41b7c6a8bdcd Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 10 Nov 2022 16:08:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Viewer/WindowBuilder.?= =?UTF-8?q?cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Viewer/WindowBuilder.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Viewer/WindowBuilder.cxx b/src/Viewer/WindowBuilder.cxx index 789b7c4..a7ef972 100644 --- a/src/Viewer/WindowBuilder.cxx +++ b/src/Viewer/WindowBuilder.cxx @@ -275,7 +275,7 @@ GraphicsWindow* WindowBuilder::buildWindow(const SGPropertyNode* winNode, bool i traits->windowName = windowName; traitsSet = 1; } else if (traitsSet) { - traits->windowName = makeName("FlightGear", defaultCounter++); + traits->windowName = makeName("JIngweiHT", defaultCounter++); } setMacPoseAsStandaloneApp(traits); @@ -320,7 +320,7 @@ GraphicsWindow* WindowBuilder::getDefaultWindow() GraphicsContext* gc = GraphicsContext::createGraphicsContext(traits); if (!gc) { flightgear::fatalMessageBoxThenExit("Unable to create window", - "FlightGear was unable to create a window supporting 3D rendering (OpenGL). " + "FGFS was unable to create a window supporting 3D rendering (OpenGL). " "This is normally due to outdated graphics drivers, please check if updates are available. ", "Depending on your OS and graphics chipset, updates might come from AMD, nVidia or Intel."); return nullptr; // unreachable anyway