Get libretro integration working again.

- Fixes #21275

- Fixes #21274
This commit is contained in:
Henrik Rydgård committed 2026-02-18 10:14:37 +01:00
1 parent 72640514b5
commit 8b0144dbfc
2 files changed
+9 -2

No files matched your search

+4 -2
View File
@@ -124,8 +124,10 @@ void LibretroVulkanContext::ContextReset() {
void LibretroVulkanContext::ContextDestroy() {
INFO_LOG(Log::G3D, "LibretroVulkanContext::ContextDestroy()");
vk->WaitUntilQueueIdle();
LibretroHWRenderContext::ContextDestroy();
if (vk) {
vk->WaitUntilQueueIdle();
LibretroHWRenderContext::ContextDestroy();
}
}
void LibretroVulkanContext::CreateDrawContext() {