更新 'src/Viewer/WindowBuilder.cxx'

This commit is contained in:
zhongjin 2022-11-21 23:08:25 +08:00
parent b2cb69bf92
commit cb2ce7d810

View File

@ -98,10 +98,10 @@ void WindowBuilder::makeDefaultTraits(bool stencil)
traits->samples = fgGetInt("/sim/rendering/multi-samples", traits->samples); traits->samples = fgGetInt("/sim/rendering/multi-samples", traits->samples);
traits->vsync = fgGetBool("/sim/rendering/vsync-enable", traits->vsync); 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 //zhongjin FullScreen
const bool wantFullscreen = true; //const bool wantFullscreen = true;
unsigned screenwidth = 0; unsigned screenwidth = 0;
unsigned screenheight = 0; unsigned screenheight = 0;