Replace the default value when applying low end defaults so reset button works properly. (#359)

* Replace the default value when applying low end defaults so reset button works properly.

* Update video.cpp
This commit is contained in:
Darío authored and GitHub committed 2025-02-11 15:13:43 +03:00
1 parent 854d7412fa
commit 0194c372e9
1 file changed
+2
+2
View File
@@ -1624,6 +1624,8 @@ static void ApplyLowEndDefault(ConfigDef<T> &configDef, T newDefault, bool &chan
configDef = newDefault;
changed = true;
}
configDef.DefaultValue = newDefault;
}
static void ApplyLowEndDefaults()