mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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:
parent
70c70b1e76
commit
1ab9f102ab
1 changed files with 1 additions and 1 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Reference in a new issue