mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01: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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user