Update video.cpp

This commit is contained in:
Darío 2025-02-11 09:01:01 -03:00 committed by GitHub
parent 1e370c5415
commit c0de00ed19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()