summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractGfx.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-03-06 03:09:12 +1300
committerGitHub <noreply@github.com>2023-03-06 03:09:12 +1300
commit4acdbc0e8465f747275587332636f1486b0ba649 (patch)
tree0a93a38c6079680e1cc950b21ac3109ef6176531 /Source/Core/VideoCommon/AbstractGfx.cpp
parentcecf2d25d60887d4ef539ede444932a93d29ae41 (diff)
parent901f12c9351defd245fb559aa546d7ff3bbeacf4 (diff)
Merge pull request #11625 from phire/eventhook_nodiscard
Fix KillRenderer config changed regression
Diffstat (limited to 'Source/Core/VideoCommon/AbstractGfx.cpp')
-rw-r--r--Source/Core/VideoCommon/AbstractGfx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AbstractGfx.cpp b/Source/Core/VideoCommon/AbstractGfx.cpp
index 6e1c56aa20..7c0cc10355 100644
--- a/Source/Core/VideoCommon/AbstractGfx.cpp
+++ b/Source/Core/VideoCommon/AbstractGfx.cpp
@@ -18,7 +18,8 @@ std::unique_ptr<AbstractGfx> g_gfx;
AbstractGfx::AbstractGfx()
{
- ConfigChangedEvent::Register([this](u32 bits) { OnConfigChanged(bits); }, "AbstractGfx");
+ m_config_changed =
+ ConfigChangedEvent::Register([this](u32 bits) { OnConfigChanged(bits); }, "AbstractGfx");
}
bool AbstractGfx::IsHeadless() const