GPU: Fix incorrect interface for postfx config

This commit is contained in:
Stenzek 2025-01-21 20:22:43 +10:00
parent 78f6e11b91
commit 4e588bb6c1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1158,7 +1158,7 @@ bool GPUPresenter::UpdatePostProcessingSettings(bool force_reload, Error* error)
static constexpr const char* section = PostProcessing::Config::DISPLAY_CHAIN_SECTION;
auto lock = Host::GetSettingsLock();
const SettingsInterface& si = *Host::GetSettingsInterface();
const SettingsInterface& si = GetPostProcessingSettingsInterface(section);
// Don't delete the chain if we're just temporarily disabling.
if (PostProcessing::Config::GetStageCount(si, section) == 0)