libobs/util: Make os_sleepto_ns more accurate on windows

This commit is contained in:
Palana 2015-07-08 11:56:18 +02:00
parent 3ef3ce29e4
commit 231dfbd975

View File

@ -160,7 +160,7 @@ bool os_sleepto_ns(uint64_t time_target)
if (t >= time_target) if (t >= time_target)
return true; return true;
#if 1 #if 0
Sleep(1); Sleep(1);
#else #else
Sleep(0); Sleep(0);