更新 'src/Viewer/WindowBuilder.cxx'
This commit is contained in:
parent
2bb77d149e
commit
7e8a7a48ec
@ -92,13 +92,17 @@ void WindowBuilder::makeDefaultTraits(bool stencil)
|
||||
|
||||
traits->doubleBuffer = true;
|
||||
traits->mipMapGeneration = true;
|
||||
traits->windowName = "FlightGear";
|
||||
traits->windowName = "JingweiHT";
|
||||
// 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);
|
||||
traits->vsync = fgGetBool("/sim/rendering/vsync-enable", traits->vsync);
|
||||
|
||||
const bool wantFullscreen = fgGetBool("/sim/startup/fullscreen");
|
||||
//const bool wantFullscreen = fgGetBool("/sim/startup/fullscreen");
|
||||
|
||||
//zhongjin FullScreen
|
||||
const bool wantFullscreen = true;
|
||||
|
||||
unsigned screenwidth = 0;
|
||||
unsigned screenheight = 0;
|
||||
// this is a deprecated method, should be screen-aware.
|
||||
|
Loading…
Reference in New Issue
Block a user