summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index 8b8a73e6cf..86cfc97ade 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -341,3 +341,8 @@ void CheckForConfigChanges()
BPFunctions::SetScissorAndViewport();
}
}
+
+static EventHook s_check_config_event = AfterFrameEvent::Register([] {
+ CheckForConfigChanges();
+
+}, "CheckForConfigChanges");