mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
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:
parent
3376001d45
commit
7bcc7b7118
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user