Fix crash on close content after cached GPU pointer cleanup.

This commit is contained in:
Stuart Kenny 2021-11-17 20:33:44 +00:00
parent b6e7fe1aaf
commit 6882070df2
2 changed files with 0 additions and 7 deletions

View file

@ -73,10 +73,6 @@ void LibretroHWRenderContext::ContextDestroy() {
#endif
}
LostBackbuffer();
gpu->DeviceLost();
if (!hw_render_.cache_context && !Libretro::useEmuThread) {
Shutdown();
}

View file

@ -128,9 +128,6 @@ void LibretroVulkanContext::ContextReset() {
void LibretroVulkanContext::ContextDestroy() {
INFO_LOG(G3D, "LibretroVulkanContext::ContextDestroy()");
LostBackbuffer();
gpu->DeviceLost();
}
void LibretroVulkanContext::CreateDrawContext() {