[Fix] (MG_Backend/DirectVulkan): fix validation error on Windows

This commit is contained in:
2026-02-10 14:16:23 +08:00
parent ceaa6ff5f8
commit 43e59d8fce
4 changed files with 39 additions and 24 deletions
@@ -106,6 +106,8 @@ namespace MobileGL {
MGLOG_E("EGLForVulkan::SwapBuffers called but VulkanRenderer is null");
return EGL_FALSE;
}
// TODO: replace this with real rendering code
MG_Backend::DirectVulkan::pVulkanRenderer->RenderFrame();
MG_Backend::DirectVulkan::pVulkanRenderer->Present();
return EGL_TRUE;
}