windows sleep fix

This commit is contained in:
water 2022-06-04 13:56:04 -04:00
parent e1211aebc3
commit c658a14d94

View File

@ -23,14 +23,13 @@ void sleep_us(u64 us) {
}
#else
#define NOMINMAX
#include <Windows.h>
void sleep_us(u64 us) {
Sleep(us);
}
#define NOMINMAX
#include <Windows.h>
FrameLimiter::FrameLimiter() {
timeBeginPeriod(1);
}