mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- set sane limits for vid_scale_custompixelaspect
This commit is contained in:
parent
f647f3c132
commit
5389d8ad1a
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@ CVAR(Bool, vid_scale_linear, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
|||
CUSTOM_CVAR(Float, vid_scale_custompixelaspect, 1.0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||
{
|
||||
setsizeneeded = true;
|
||||
if (self < 0.2 || self > 5.0)
|
||||
self = 1.0;
|
||||
}
|
||||
|
||||
namespace
|
||||
|
|
Loading…
Reference in a new issue