Fix crash on close content after cached GPU pointer cleanup.

This commit is contained in:
Stuart Kenny committed 2021-11-17 20:33:44 +00:00
1 parent b6e7fe1aaf
commit 6882070df2
2 files changed
-7

No files matched your search

-4
View File
@@ -73,10 +73,6 @@ void LibretroHWRenderContext::ContextDestroy() {
#endif
}
LostBackbuffer();
gpu->DeviceLost();
if (!hw_render_.cache_context && !Libretro::useEmuThread) {
Shutdown();
}
-3
View File
@@ -128,9 +128,6 @@ void LibretroVulkanContext::ContextReset() {
void LibretroVulkanContext::ContextDestroy() {
INFO_LOG(G3D, "LibretroVulkanContext::ContextDestroy()");
LostBackbuffer();
gpu->DeviceLost();
}
void LibretroVulkanContext::CreateDrawContext() {