Allow delay ticks

This commit is contained in:
Varun Patil 2020-05-04 22:57:49 +05:30
parent f20d7a43b1
commit 3f42fac8f5
1 changed files with 0 additions and 4 deletions

View File

@ -418,10 +418,6 @@ struct FPSLimiter
private: private:
void delayTicks(uint64_t ticks) void delayTicks(uint64_t ticks)
{ {
#ifdef __EMSCRIPTEN__
return;
#endif
#if defined(HAVE_NANOSLEEP) #if defined(HAVE_NANOSLEEP)
struct timespec req; struct timespec req;
uint64_t nsec = ticks / tickFreqNS; uint64_t nsec = ticks / tickFreqNS;