diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-12-02 20:20:43 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-12-02 20:20:43 +0100 |
commit | 762b8ad448369cc770beae4d8368a6258b13709e (patch) | |
tree | cff2c5d404b77e93e875fbf40cf78ea6d30d32b0 /src/video_core/shader_notify.cpp | |
parent | Merge pull request #7483 from zhaobot/tx-update-20211201022129 (diff) | |
download | yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.gz yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.bz2 yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.lz yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.xz yuzu-762b8ad448369cc770beae4d8368a6258b13709e.tar.zst yuzu-762b8ad448369cc770beae4d8368a6258b13709e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader_notify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader_notify.cpp b/src/video_core/shader_notify.cpp index dc6995b46..bcaf5f575 100644 --- a/src/video_core/shader_notify.cpp +++ b/src/video_core/shader_notify.cpp @@ -18,7 +18,7 @@ int ShaderNotify::ShadersBuilding() noexcept { const int now_complete = num_complete.load(std::memory_order::relaxed); const int now_building = num_building.load(std::memory_order::relaxed); if (now_complete == now_building) { - const auto now = std::chrono::high_resolution_clock::now(); + const auto now = std::chrono::steady_clock::now(); if (completed && num_complete == num_when_completed) { if (now - complete_time > TIME_TO_STOP_REPORTING) { report_base = now_complete; |