mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-23 11:19:03 +02:00
Vulkan: Fix deadlock on resize.
Still needed to set this flag. Didn't notice earlier because creating the fences affected the race condition timing, I think... Improves #10063.
This commit is contained in:
1 parent
70c70b1e76
commit
1ab9f102ab
1 file changed
+1
-1
@@ -224,6 +224,7 @@ void VulkanRenderManager::StopThread(bool shutdown) {
|
||||
if (!shutdown && !frameData.readyForFence) {
|
||||
vkDestroyFence(vulkan_->GetDevice(), frameData.fence, nullptr);
|
||||
frameData.fence = vulkan_->CreateFence(true);
|
||||
frameData.readyForFence = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -268,7 +269,6 @@ VulkanRenderManager::~VulkanRenderManager() {
|
||||
queueRunner_.DestroyDeviceObjects();
|
||||
}
|
||||
|
||||
// TODO: Activate this code.
|
||||
void VulkanRenderManager::ThreadFunc() {
|
||||
setCurrentThreadName("RenderMan");
|
||||
int threadFrame = threadInitFrame_;
|
||||
|
||||
Reference in new issue
Block a user