mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Vulkan: Eliminate m_last_present_done flag.
This commit is contained in:
parent
059282df6f
commit
1554e4ab6c
3 changed files with 1 additions and 18 deletions
|
@ -3,14 +3,9 @@
|
|||
|
||||
#include "VideoBackends/Vulkan/VKGfx.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <cstdio>
|
||||
#include <limits>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
#include "Common/Assert.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/EnumUtils.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
|
@ -225,8 +220,7 @@ bool VKGfx::BindBackbuffer(const ClearColor& clear_color)
|
|||
{
|
||||
StateTracker::GetInstance()->EndRenderPass();
|
||||
|
||||
if (!g_command_buffer_mgr->CheckLastPresentDone())
|
||||
g_command_buffer_mgr->WaitForWorkerThreadIdle();
|
||||
g_command_buffer_mgr->WaitForWorkerThreadIdle();
|
||||
|
||||
// Handle host window resizes.
|
||||
CheckForSurfaceChange();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue