X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fmain.h;h=332b021495ed3e8f842fc474d8a2f2c62152709e;hp=6821399eb28daa0ceeeefa4275e6ff9a85756e4c;hb=070e5e119baa62352418dbc2dd1b0670b4da8dca;hpb=f4bba69cebb67c19cfe0725287f9c383b3d852c0 diff --git a/src/main.h b/src/main.h index 6821399..332b021 100644 --- a/src/main.h +++ b/src/main.h @@ -65,7 +65,6 @@ inline void MainLoop(Document & doc, const Rect & bounds = Rect(0,0,1,1), const } ); - double init_time = SDL_GetPerformanceCounter(); while (scr.PumpEvents()) { scr.Clear(); @@ -82,6 +81,5 @@ inline void MainLoop(Document & doc, const Rect & bounds = Rect(0,0,1,1), const scr.DebugFontPrint("Doing coordinate transform on the CPU.\n"); } scr.Present(); - init_time = SDL_GetPerformanceCounter(); } }