mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-08 04:25:37 +00:00
GPU: Fix incorrect interface for postfx config
This commit is contained in:
parent
78f6e11b91
commit
4e588bb6c1
@ -1158,7 +1158,7 @@ bool GPUPresenter::UpdatePostProcessingSettings(bool force_reload, Error* error)
|
|||||||
static constexpr const char* section = PostProcessing::Config::DISPLAY_CHAIN_SECTION;
|
static constexpr const char* section = PostProcessing::Config::DISPLAY_CHAIN_SECTION;
|
||||||
|
|
||||||
auto lock = Host::GetSettingsLock();
|
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.
|
// Don't delete the chain if we're just temporarily disabling.
|
||||||
if (PostProcessing::Config::GetStageCount(si, section) == 0)
|
if (PostProcessing::Config::GetStageCount(si, section) == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user