mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 13:48:30 +09:00
[Fix] (MG_Backend/DirectVulkan): fix validation error on Windows
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user