更新 '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->doubleBuffer = true;
|
||||||
traits->mipMapGeneration = true;
|
traits->mipMapGeneration = true;
|
||||||
//traits->windowName = "FlightGear";
|
traits->windowName = "FlightGear";
|
||||||
traits->windowName = "jingweiHT";
|
|
||||||
// XXX should check per window too.
|
// XXX should check per window too.
|
||||||
traits->sampleBuffers = fgGetInt("/sim/rendering/multi-sample-buffers", traits->sampleBuffers);
|
traits->sampleBuffers = fgGetInt("/sim/rendering/multi-sample-buffers", traits->sampleBuffers);
|
||||||
traits->samples = fgGetInt("/sim/rendering/multi-samples", traits->samples);
|
traits->samples = fgGetInt("/sim/rendering/multi-samples", traits->samples);
|
||||||
@ -307,7 +306,8 @@ GraphicsWindow* WindowBuilder::getDefaultWindow()
|
|||||||
// create if it, if necessary
|
// create if it, if necessary
|
||||||
GraphicsContext::Traits* traits
|
GraphicsContext::Traits* traits
|
||||||
= new GraphicsContext::Traits(*defaultTraits);
|
= new GraphicsContext::Traits(*defaultTraits);
|
||||||
traits->windowName = "FlightGear";
|
// traits->windowName = "FlightGear";
|
||||||
|
traits->windowName = "jingweiHT";
|
||||||
|
|
||||||
setMacPoseAsStandaloneApp(traits);
|
setMacPoseAsStandaloneApp(traits);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user