libobs/util: Make os_sleepto_ns more accurate on windows
This commit is contained in:
parent
3ef3ce29e4
commit
231dfbd975
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user