mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Cleanup log output on swapchain/surface recreation.
This commit is contained in:
1 parent
6e6cac6b9b
commit
697c3b8b36
7 files changed
+91
-60
No files matched your search
@@ -173,12 +173,10 @@ void WindowsVulkanContext::Shutdown() {
|
||||
|
||||
void WindowsVulkanContext::Resize() {
|
||||
draw_->HandleEvent(Draw::Event::LOST_BACKBUFFER, g_Vulkan->GetBackbufferWidth(), g_Vulkan->GetBackbufferHeight());
|
||||
g_Vulkan->DestroyObjects();
|
||||
|
||||
g_Vulkan->DestroySwapchain();
|
||||
g_Vulkan->UpdateFlags(FlagsFromConfig());
|
||||
g_Vulkan->ReinitSurface();
|
||||
|
||||
g_Vulkan->InitObjects();
|
||||
g_Vulkan_->ReinitSurface();
|
||||
g_Vulkan_->InitSwapchain();
|
||||
draw_->HandleEvent(Draw::Event::GOT_BACKBUFFER, g_Vulkan->GetBackbufferWidth(), g_Vulkan->GetBackbufferHeight());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user