mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Vulkan: Wait for queue idle in DestroyBackbuffers.
Otherwise it's only done after destroying Draw, so no need to mutex.
This commit is contained in:
1 parent
efbba31608
commit
ebe9dcafde
3 files changed
+2
-2
No files matched your search
@@ -218,6 +218,8 @@ void VulkanRenderManager::DestroyBackbuffers() {
|
||||
}
|
||||
thread_.join();
|
||||
}
|
||||
vulkan_->WaitUntilQueueIdle();
|
||||
|
||||
VkDevice device = vulkan_->GetDevice();
|
||||
for (uint32_t i = 0; i < swapchainImageCount_; i++) {
|
||||
vulkan_->Delete().QueueDeleteImageView(swapchainImages_[i].view);
|
||||
|
||||
Reference in new issue
Block a user