Removed KRMeshManager's first-frame hackery for loading static meshes. They now load systematically.

This commit is contained in:
2022-01-21 23:32:00 -08:00
parent 739111ed2d
commit d093cc6f96
6 changed files with 44 additions and 55 deletions

View File

@@ -170,6 +170,11 @@ void KRPresentationThread::renderFrame()
// TODO - Add error handling...
}
// TODO - This needs to be moved to the Render thread...
float deltaTime = 0.005; // TODO - Replace dummy value
m_pContext->startFrame(deltaTime);
m_pContext->endFrame(deltaTime);
VkSubmitInfo submitInfo{};
submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO;