GS/Vulkan: Update ImGui when resizing the swap chain

This allows for the OSD and BPM to stay in sync when resizing heavily
This commit is contained in:
GovanifY 2025-12-02 22:07:58 +01:00
parent 3376001d45
commit 7bcc7b7118

View File

@ -4,6 +4,7 @@
#include "GS/Renderers/Vulkan/GSDeviceVK.h"
#include "GS/Renderers/Vulkan/VKBuilders.h"
#include "GS/Renderers/Vulkan/VKSwapChain.h"
#include "ImGui/ImGuiManager.h"
#include "VMManager.h"
#include "common/Assertions.h"
@ -589,6 +590,8 @@ bool VKSwapChain::ResizeSwapChain(u32 new_width, u32 new_height, float new_scale
return false;
}
ImGuiManager::WindowResized();
return true;
}