- Switch to C++11 steady clock
- Move the C++11 implementation to d_main - Remove the platform specific timer implementations
This commit is contained in:
parent
090943eaa4
commit
307d8931d8
22 changed files with 174 additions and 560 deletions
|
|
@ -92,6 +92,7 @@
|
|||
#include "g_hub.h"
|
||||
#include "g_levellocals.h"
|
||||
#include "events.h"
|
||||
#include "d_main.h"
|
||||
|
||||
|
||||
static FRandom pr_dmspawn ("DMSpawn");
|
||||
|
|
@ -2887,7 +2888,7 @@ bool G_CheckDemoStatus (void)
|
|||
int endtime = 0;
|
||||
|
||||
if (timingdemo)
|
||||
endtime = I_GetTime (false) - starttime;
|
||||
endtime = I_GetTime () - starttime;
|
||||
|
||||
C_RestoreCVars (); // [RH] Restore cvars demo might have changed
|
||||
M_Free (demobuffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue