Actually, don't disable that on Windows
This commit is contained in:
parent
aed7ba6672
commit
3ac8f1e8aa
|
@ -343,7 +343,7 @@ struct FPSLimiter
|
||||||
private:
|
private:
|
||||||
void delayTicks(uint64_t ticks)
|
void delayTicks(uint64_t ticks)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_NANOSLEEP) && !defined(_WIN32)
|
#if defined(HAVE_NANOSLEEP)
|
||||||
struct timespec req;
|
struct timespec req;
|
||||||
uint64_t nsec = ticks / tickFreqNS;
|
uint64_t nsec = ticks / tickFreqNS;
|
||||||
req.tv_sec = nsec / NS_PER_S;
|
req.tv_sec = nsec / NS_PER_S;
|
||||||
|
|
Loading…
Reference in New Issue