Removing RenderFrame parameters no longer needed with Vulkan and KRSurface

This commit is contained in:
2022-04-03 23:12:34 -07:00
parent c51f776899
commit c49e177264
5 changed files with 8 additions and 10 deletions

View File

@@ -155,7 +155,7 @@ void KRPresentationThread::renderFrame()
// TODO - This needs to be moved to the Render thread...
float deltaTime = 0.005; // TODO - Replace dummy value
if (scene) {
scene->renderFrame(commandBuffer, surface, 0, deltaTime, surface.m_swapChain->m_extent.width, surface.m_swapChain->m_extent.height);
scene->renderFrame(commandBuffer, surface, deltaTime);
}
if (vkEndCommandBuffer(commandBuffer) != VK_SUCCESS) {