更新 'src/Viewer/WindowBuilder.cxx'

This commit is contained in:
zhongjin 2022-10-21 21:05:40 +08:00
parent e26310ef4d
commit eec838c9ef

View File

@ -92,8 +92,7 @@ void WindowBuilder::makeDefaultTraits(bool stencil)
traits->doubleBuffer = true;
traits->mipMapGeneration = true;
//traits->windowName = "FlightGear";
traits->windowName = "jingweiHT";
traits->windowName = "FlightGear";
// XXX should check per window too.
traits->sampleBuffers = fgGetInt("/sim/rendering/multi-sample-buffers", traits->sampleBuffers);
traits->samples = fgGetInt("/sim/rendering/multi-samples", traits->samples);
@ -307,7 +306,8 @@ GraphicsWindow* WindowBuilder::getDefaultWindow()
// create if it, if necessary
GraphicsContext::Traits* traits
= new GraphicsContext::Traits(*defaultTraits);
traits->windowName = "FlightGear";
// traits->windowName = "FlightGear";
traits->windowName = "jingweiHT";
setMacPoseAsStandaloneApp(traits);