更新 'src/Viewer/WindowBuilder.cxx'
This commit is contained in:
parent
e26310ef4d
commit
eec838c9ef
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user