allow maintain aspect ratio in windowed mode
This commit is contained in:
parent
acf047ca27
commit
064a4ed0d7
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue