mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
Merge branch 'master' of https://github.com/coelckers/gzdoom into vulkan2
This commit is contained in:
commit
b444cbd950
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ void V_UpdateModeSize (int width, int height)
|
||||||
else if (w >= 1600 && w < 1920) factor = 3;
|
else if (w >= 1600 && w < 1920) factor = 3;
|
||||||
else factor = w / 640;
|
else factor = w / 640;
|
||||||
|
|
||||||
CleanYfac_1 = CleanXfac_1 = MAX(1, int (CleanXfac * 0.7));
|
CleanYfac_1 = CleanXfac_1 = MAX(1, int (factor * 0.7));
|
||||||
CleanWidth_1 = width / CleanXfac_1;
|
CleanWidth_1 = width / CleanXfac_1;
|
||||||
CleanHeight_1 = height / CleanYfac_1;
|
CleanHeight_1 = height / CleanYfac_1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue