mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
active_con_scale should respect uiscale
This commit is contained in:
parent
712e032573
commit
ae889acaea
1 changed files with 7 additions and 3 deletions
|
@ -158,10 +158,14 @@ int active_con_scale()
|
|||
int scale = con_scale;
|
||||
if (scale <= 0)
|
||||
{
|
||||
scale = CleanXfac - 1;
|
||||
if (scale <= 0)
|
||||
scale = uiscale;
|
||||
if (scale == 0)
|
||||
{
|
||||
scale = 1;
|
||||
scale = CleanXfac - 1;
|
||||
if (scale <= 0)
|
||||
{
|
||||
scale = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return scale;
|
||||
|
|
Loading…
Reference in a new issue