mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 16:07:55 +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
|
@ -157,6 +157,9 @@ int active_con_scale()
|
|||
{
|
||||
int scale = con_scale;
|
||||
if (scale <= 0)
|
||||
{
|
||||
scale = uiscale;
|
||||
if (scale == 0)
|
||||
{
|
||||
scale = CleanXfac - 1;
|
||||
if (scale <= 0)
|
||||
|
@ -164,6 +167,7 @@ int active_con_scale()
|
|||
scale = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return scale;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue