1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

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;

View File

@ -182,7 +182,7 @@ static void CreateSettingsIni()
"border=true\n"
"\n"
"; Maintain aspect ratio\n"
"; Note: Works only for games that support 'handlemouse=true'\n"
"; Note: Works only for games that support 'handlemouse=true' (Windowed mode is an exception)\n"
"maintas=false\n"
"\n"
"; Windowboxing / Integer Scaling\n"