diff options
author | Dave Parks <davep@lindenlab.com> | 2022-04-15 19:02:07 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-04-15 19:02:07 -0500 |
commit | b6841d75c2f259c84d5ab6b012bd2ae37d985451 (patch) | |
tree | 9539ccd6552786155d0107a0a8f32ecc97c2e44f /indra/llcommon/lltimer.cpp | |
parent | 425b071c644cddd1e14b94fb06a7307622d6b315 (diff) |
SL-17219 WIP - Texture pipeline overhaul
Diffstat (limited to 'indra/llcommon/lltimer.cpp')
-rw-r--r-- | indra/llcommon/lltimer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/lltimer.cpp b/indra/llcommon/lltimer.cpp index aaa6df325c..b250bc3e1c 100644 --- a/indra/llcommon/lltimer.cpp +++ b/indra/llcommon/lltimer.cpp @@ -64,7 +64,8 @@ LLTimer* LLTimer::sTimer = NULL; #if LL_WINDOWS void ms_sleep(U32 ms) { - Sleep(ms); + LL_PROFILE_ZONE_SCOPED; + std::this_thread::sleep_for(std::chrono::microseconds(ms)); } U32 micro_sleep(U64 us, U32 max_yields) |