mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 04:38:30 +09:00
[Feat] (MG_Backend/DirectVulkan): hooking up Windows VK WSI
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user