mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
Extra safety when switching GPU backends, fix possible Vulkan shutdown issue. Should help #10005
This commit is contained in:
1 parent
bb1f651182
commit
3757070fe2
3 files changed
+15
-6
No files matched your search
@@ -143,6 +143,7 @@ void VulkanDeviceAllocator::Destroy() {
|
||||
}
|
||||
}
|
||||
|
||||
assert(slab.deviceMemory);
|
||||
vulkan_->Delete().QueueDeleteDeviceMemory(slab.deviceMemory);
|
||||
}
|
||||
slabs_.clear();
|
||||
|
||||
Reference in new issue
Block a user