mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Fix crashes on exit (Vulkan). Should help #13223
This commit is contained in:
1 parent
50619af71d
commit
669c18a088
1 file changed
+6
-2
@@ -2270,8 +2270,12 @@ void FramebufferManagerCommon::DeviceLost() {
|
||||
}
|
||||
}
|
||||
}
|
||||
reinterpretSampler_->Release();
|
||||
reinterpretVS_->Release();
|
||||
if (reinterpretSampler_) {
|
||||
reinterpretSampler_->Release();
|
||||
}
|
||||
if (reinterpretVS_) {
|
||||
reinterpretVS_->Release();
|
||||
}
|
||||
presentation_->DeviceLost();
|
||||
draw_ = nullptr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user