mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-06 12:43:46 +01:00
Merge pull request #17392 from hrydgard/misc-crash-fixes
Misc crash fixes from mystery thread
This commit is contained in:
4 files changed
+9
-5
No files matched your search
@@ -182,6 +182,9 @@ void GPU_Vulkan::SaveCache(const Path &filename) {
|
||||
}
|
||||
|
||||
GPU_Vulkan::~GPU_Vulkan() {
|
||||
VulkanRenderManager *rm = (VulkanRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
|
||||
rm->DrainCompileQueue();
|
||||
|
||||
SaveCache(shaderCachePath_);
|
||||
// Note: We save the cache in DeviceLost
|
||||
DestroyDeviceObjects();
|
||||
|
||||
Reference in new issue
Block a user