Removing hard sync, breaking stuff again

This commit is contained in:
Dynamitos
2024-03-03 10:29:09 +01:00
parent 66b3ba59b6
commit a74def0ab0
6 changed files with 9 additions and 7 deletions
+5
View File
@@ -111,6 +111,11 @@ void Graphics::endRenderPass()
getGraphicsCommands()->submitCommands();
}
void Graphics::waitDeviceIdle()
{
vkDeviceWaitIdle(handle);
}
void Graphics::executeCommands(const Array<Gfx::PRenderCommand>& commands)
{
getGraphicsCommands()->getCommands()->executeCommands(commands);