Postshader: Reset ini keys for defaults.

Should fix the Vignette shader defaults, see #16562.
This commit is contained in:
Unknown W. Brackets committed 2022-12-12 19:11:20 -08:00
1 parent f202029d0b
commit fe470c790e
5 files changed
+15 -15

No files matched your search

+4 -4
View File
@@ -1417,10 +1417,10 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
Section *postShaderSetting = iniFile.GetOrCreateSection("PostShaderSetting");
if (IsVREnabled() && !postShadersInitialized) {
postShaderChain->Set("PostShader1", "ColorCorrection");
postShaderSetting->Set("ColorCorrectionSettingValue1",1.0f);
postShaderSetting->Set("ColorCorrectionSettingValue2",1.5f);
postShaderSetting->Set("ColorCorrectionSettingValue3",1.1f);
postShaderSetting->Set("ColorCorrectionSettingValue4",1.0f);
postShaderSetting->Set("ColorCorrectionSettingCurrentValue1", 1.0f);
postShaderSetting->Set("ColorCorrectionSettingCurrentValue2", 1.5f);
postShaderSetting->Set("ColorCorrectionSettingCurrentValue3", 1.1f);
postShaderSetting->Set("ColorCorrectionSettingCurrentValue4", 1.0f);
}
// Load post process shader values