From b93945c51b3970afc25e275b8cd92cf8e63e2aba Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Tue, 26 Jan 2021 14:09:10 -0800 Subject: [PATCH] draw every loop --- src/Game.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Game.cs b/src/Game.cs index 93c7b26..8c528ea 100644 --- a/src/Game.cs +++ b/src/Game.cs @@ -77,8 +77,6 @@ namespace MoonWorks accumulator += frameTime; - bool updateThisLoop = (accumulator >= timestep); - if (!quit) { while (accumulator >= timestep) @@ -95,10 +93,7 @@ namespace MoonWorks double alpha = accumulator / timestep; - if (updateThisLoop) - { - Draw(timestep, alpha); - } + Draw(timestep, alpha); } } }