mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
libobs/util: Make os_sleepto_ns more accurate on windows
This commit is contained in:
@@ -160,7 +160,7 @@ bool os_sleepto_ns(uint64_t time_target)
|
||||
if (t >= time_target)
|
||||
return true;
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
Sleep(1);
|
||||
#else
|
||||
Sleep(0);
|
||||
|
||||
Reference in New Issue
Block a user