mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
Merge pull request #11262 from K0bin/present-sync
VideoBackends:Vulkan: Synchronize presentation
This commit is contained in:
commit
c9f31ad6a6
3 changed files with 6 additions and 0 deletions
|
@ -261,6 +261,9 @@ void Renderer::BindBackbuffer(const ClearColor& clear_color)
|
|||
{
|
||||
StateTracker::GetInstance()->EndRenderPass();
|
||||
|
||||
if (!g_command_buffer_mgr->CheckLastPresentDone())
|
||||
g_command_buffer_mgr->WaitForWorkerThreadIdle();
|
||||
|
||||
// Handle host window resizes.
|
||||
CheckForSurfaceChange();
|
||||
CheckForSurfaceResize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue