diff --git a/src/Viewer/WindowBuilder.cxx b/src/Viewer/WindowBuilder.cxx index 32f29ab..9223c58 100644 --- a/src/Viewer/WindowBuilder.cxx +++ b/src/Viewer/WindowBuilder.cxx @@ -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.