mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 17:18:53 +00:00
Vulkan: Only use oldSwapchain in response to VK_ERROR_OUT_OF_DATE_KHR
Seems to be required on the latest NV driver, otherwise the presented images are never shown.
This commit is contained in:
parent
cdf34a79f7
commit
4301b8538d
5 changed files with 31 additions and 31 deletions
|
@ -80,7 +80,7 @@ public:
|
|||
void ExecuteCommandBuffer(bool submit_off_thread, bool wait_for_completion);
|
||||
|
||||
// Was the last present submitted to the queue a failure? If so, we must recreate our swapchain.
|
||||
bool DidLastPresentFail() { return m_present_failed_flag.TestAndClear(); }
|
||||
bool CheckLastPresentFail() { return m_present_failed_flag.TestAndClear(); }
|
||||
// Schedule a vulkan resource for destruction later on. This will occur when the command buffer
|
||||
// is next re-used, and the GPU has finished working with the specified resource.
|
||||
void DeferBufferDestruction(VkBuffer object);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue