allow maintain aspect ratio in windowed mode

This commit is contained in:
FunkyFr3sh 2018-11-16 11:53:35 +01:00
parent acf047ca27
commit 064a4ed0d7
2 changed files with 2 additions and 2 deletions

View file

@ -572,7 +572,7 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD
}
if (!ddraw->handlemouse)
This->boxing = This->maintas = maintas = FALSE;
This->boxing = maintas = FALSE;
This->render.viewport.width = This->render.width;
This->render.viewport.height = This->render.height;