diff options
author | GPUCode <geoster3d@gmail.com> | 2023-04-10 14:26:59 +0200 |
---|---|---|
committer | GPUCode <geoster3d@gmail.com> | 2023-05-01 22:13:24 +0200 |
commit | 1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe (patch) | |
tree | ecee683d9a8b7ad4bac5ccdc619f52dc6db07f91 /src/video_core/renderer_vulkan | |
parent | renderer_vulkan: Fix crashing when updating descriptors (diff) | |
download | yuzu-1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe.tar yuzu-1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe.tar.gz yuzu-1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe.tar.bz2 yuzu-1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe.tar.lz yuzu-1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe.tar.xz yuzu-1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe.tar.zst yuzu-1d7abac84be5652ba4fc5d9b7ebc006f425bb4fe.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_blit_screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_blit_screen.cpp b/src/video_core/renderer_vulkan/vk_blit_screen.cpp index 4e8ce3ec7..1e0fdd3d9 100644 --- a/src/video_core/renderer_vulkan/vk_blit_screen.cpp +++ b/src/video_core/renderer_vulkan/vk_blit_screen.cpp @@ -450,7 +450,7 @@ void BlitScreen::DrawToSwapchain(Frame* frame, const Tegra::FramebufferConfig& f const Layout::FramebufferLayout layout = render_window.GetFramebufferLayout(); if (layout.width != frame->width || layout.height != frame->height || is_srgb != frame->is_srgb) { - scheduler.Finish(); + Recreate(); present_manager.RecreateFrame(frame, layout.width, layout.height, is_srgb, image_view_format, *renderpass); } |