More lazy rendering stuff
This commit is contained in:
@@ -141,12 +141,12 @@ namespace OpenVulkano
|
||||
{
|
||||
Input::InputManager::GetInstance()->Tick();
|
||||
app->Tick();
|
||||
if (CURRENT_FRAME.shouldDraw) renderer->Tick();
|
||||
if (CURRENT_FRAME.needsRedraw) renderer->Tick();
|
||||
frameTimer.Tick();
|
||||
UpdateFps();
|
||||
CURRENT_FRAME.frameId = frameCount;
|
||||
CURRENT_FRAME.frameTime = frameTimer.GetTickSeconds();
|
||||
CURRENT_FRAME.shouldDraw = !EngineConfiguration::GetEngineConfiguration()->GetLazyRendering();
|
||||
CURRENT_FRAME.needsRedraw = !EngineConfiguration::GetEngineConfiguration()->GetLazyRendering();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user