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:
parent
acf047ca27
commit
064a4ed0d7
@ -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…
x
Reference in New Issue
Block a user