From 6e5d8f08ba8b198802f7acfddbc48b638d9a33e5 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 18 Aug 2013 18:09:24 -0400 Subject: [PATCH] fix bug in how render/update time is tracked --- Blarg.GameFramework.SDL2/SDLApplication.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Blarg.GameFramework.SDL2/SDLApplication.cs b/Blarg.GameFramework.SDL2/SDLApplication.cs index d6602d1..6083184 100644 --- a/Blarg.GameFramework.SDL2/SDLApplication.cs +++ b/Blarg.GameFramework.SDL2/SDLApplication.cs @@ -218,6 +218,8 @@ namespace Blarg.GameFramework numUpdates = 0; numRenders = 0; + renderTime = 0; + updateTime = 0; numLoops = 0; timeElapsed = 0;