- 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:
Magnus Norddahl 2017-11-12 03:12:22 +01:00
commit 307d8931d8
22 changed files with 174 additions and 560 deletions

View file

@ -84,6 +84,7 @@
#include "r_data/voxels.h"
#include "vm.h"
#include "r_videoscale.h"
#include "d_main.h"
EXTERN_CVAR(Bool, r_blendmethod)
@ -902,7 +903,7 @@ void DFrameBuffer::DrawRateStuff ()
// draws little dots on the bottom of the screen
if (ticker)
{
int i = I_GetTime(false);
int i = I_GetTime();
int tics = i - LastTic;
uint8_t *buffer = GetBuffer();