diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-02-09 19:59:16 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-09 19:59:16 +1300 |
| commit | ccf92a3e56764d6378c436a8040519a5bffc3372 (patch) | |
| tree | e2b330b225044e1901e77a6ed147cf21b9d7ac0e /Source/Core/DolphinQt/Config/Graphics/PostProcessingConfigWindow.cpp | |
| parent | 72b22ef0a54f841b1c52d49cf0e00d3b12c29ac7 (diff) | |
| parent | 5c1b3ac61d7e660a9d1c206dbd0e615d637d3272 (diff) | |
Merge pull request #11522 from phire/KillRendererWithFire
Kill Renderer (with phire)
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/PostProcessingConfigWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/PostProcessingConfigWindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/PostProcessingConfigWindow.cpp b/Source/Core/DolphinQt/Config/Graphics/PostProcessingConfigWindow.cpp index 59907bd39b..c6842c7351 100644 --- a/Source/Core/DolphinQt/Config/Graphics/PostProcessingConfigWindow.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/PostProcessingConfigWindow.cpp @@ -21,7 +21,7 @@ #include "DolphinQt/Config/Graphics/EnhancementsWidget.h" #include "VideoCommon/PostProcessing.h" -#include "VideoCommon/RenderBase.h" +#include "VideoCommon/Present.h" #include "VideoCommon/VideoConfig.h" using ConfigurationOption = VideoCommon::PostProcessingConfiguration::ConfigurationOption; @@ -31,9 +31,9 @@ PostProcessingConfigWindow::PostProcessingConfigWindow(EnhancementsWidget* paren const std::string& shader) : QDialog(parent), m_shader(shader) { - if (g_renderer && g_renderer->GetPostProcessor()) + if (g_presenter && g_presenter->GetPostProcessor()) { - m_post_processor = g_renderer->GetPostProcessor()->GetConfig(); + m_post_processor = g_presenter->GetPostProcessor()->GetConfig(); } else { @@ -52,7 +52,7 @@ PostProcessingConfigWindow::PostProcessingConfigWindow(EnhancementsWidget* paren PostProcessingConfigWindow::~PostProcessingConfigWindow() { m_post_processor->SaveOptionsConfiguration(); - if (!(g_renderer && g_renderer->GetPostProcessor())) + if (!(g_presenter && g_presenter->GetPostProcessor())) { delete m_post_processor; } |
