mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
VideoBackends:Vulkan: Don't try to present if swapchain acquire failed
This commit is contained in:
parent
c7cbac538a
commit
7e1a9490c0
18 changed files with 64 additions and 31 deletions
|
@ -157,10 +157,11 @@ void Gfx::DispatchComputeShader(const AbstractShader* shader, u32 groupsize_x, u
|
|||
D3D::context->Dispatch(groups_x, groups_y, groups_z);
|
||||
}
|
||||
|
||||
void Gfx::BindBackbuffer(const ClearColor& clear_color)
|
||||
bool Gfx::BindBackbuffer(const ClearColor& clear_color)
|
||||
{
|
||||
CheckForSwapChainChanges();
|
||||
SetAndClearFramebuffer(m_swap_chain->GetFramebuffer(), clear_color);
|
||||
return true;
|
||||
}
|
||||
|
||||
void Gfx::PresentBackbuffer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue