[Feat] (MG_Backend/DirectVulkan): hooking up Windows VK WSI

This commit is contained in:
2026-02-10 13:28:05 +08:00
parent 1c2924eef9
commit 162dbf8750
4 changed files with 24 additions and 6 deletions
@@ -41,6 +41,8 @@ namespace MobileGL::MG_Backend::DirectVulkan {
void VulkanRenderer::Shutdown() {
if (!Ctx) return;
if (Ctx->GetDevice() == VK_NULL_HANDLE) return;
vkDeviceWaitIdle(Ctx->GetDevice());
DestroyFrameResources();