summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-31 00:46:10 +1300
committerScott Mansell <phiren@gmail.com>2023-01-31 19:41:24 +1300
commit0da69055d9f41d838bdf94b66805540c746eaa7d (patch)
tree74363fda70c41594e6a24d64d8e62bc78d26685f /Source/Core/VideoCommon/VideoConfig.cpp
parent2a18b34a73f4f1bc798dab0a5eec46c222ec7429 (diff)
Split out everying remaining from Swap
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");