From 0da69055d9f41d838bdf94b66805540c746eaa7d Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Tue, 31 Jan 2023 00:46:10 +1300 Subject: Split out everying remaining from Swap --- Source/Core/VideoCommon/VideoConfig.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/VideoCommon/VideoConfig.cpp') 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"); -- cgit v1.2.3