- implemented fullscreen toggle for Windows and fixed the window position saver so that it can save and restore the window size as well.
This code was written when the window wasn't resizable and didn't actually manage to restore it before. With today's changes this design flaw caused totally incorrect results.
This commit is contained in:
parent
babe55819e
commit
af0e11f377
2 changed files with 21 additions and 18 deletions
|
|
@ -675,7 +675,7 @@ void D_Display ()
|
|||
if (setmodeneeded)
|
||||
{
|
||||
screen->ToggleFullscreen(fullscreen);
|
||||
setsizeneeded = true;
|
||||
V_OutputResized(screen->GetWidth(), screen->GetHeight());
|
||||
setmodeneeded = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue