Don't restore initial screen geometry because there is nothing in fg_os* to resize an existing window.
Old behavior was to just resize the GL viewport, which doesn't necessarily match the fg window size.
This commit is contained in:
parent
a5b42c7201
commit
0abca6be34
1 changed files with 5 additions and 0 deletions
|
@ -73,6 +73,11 @@ void reInit(puObject *cb)
|
|||
// update our position based on current presets
|
||||
fgInitPosition();
|
||||
|
||||
// We don't know how to resize the window, so keep the last values
|
||||
// for xsize and ysize, and don't use the one set initially
|
||||
fgSetInt("/sim/startup/xsize",xsize);
|
||||
fgSetInt("/sim/startup/ysize",ysize);
|
||||
|
||||
SGTime *t = globals->get_time_params();
|
||||
delete t;
|
||||
t = fgInitTime();
|
||||
|
|
Loading…
Add table
Reference in a new issue