(Windows Frontend) Fix window size increase on startup if screen size ratio > 1

Fix missing division in ScaleScreen function which caused window size to increase on each startup  if screen size ratio > 1.
This commit is contained in:
retr0s4ge 2018-07-21 00:00:54 +02:00
parent 6fd23368ce
commit 8cbdc339f2
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ void ScaleScreen(float factor, bool user)
else
if (video.layout == 1)
{
w1x = video.rotatedwidthgap() * 2;
w1x = video.rotatedwidthgap() * 2 / screenSizeRatio;
h1x = video.rotatedheightgap() / 2;
}
else