mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 04:41:39 +00:00
Update video.cpp
This commit is contained in:
parent
1e370c5415
commit
c0de00ed19
1 changed files with 3 additions and 3 deletions
|
|
@ -1562,13 +1562,13 @@ static void BeginCommandList()
|
|||
template<typename T>
|
||||
static void ApplyLowEndDefault(ConfigDef<T> &configDef, T newDefault, bool &changed)
|
||||
{
|
||||
configDef.DefaultValue = newDefault;
|
||||
|
||||
if (configDef.IsDefaultValue() && !configDef.IsLoadedFromConfig)
|
||||
{
|
||||
configDef.MakeDefault();
|
||||
configDef = newDefault;
|
||||
changed = true;
|
||||
}
|
||||
|
||||
configDef.DefaultValue = newDefault;
|
||||
}
|
||||
|
||||
static void ApplyLowEndDefaults()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue