diff options
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/shader_notify.cpp | 2 | ||||
| -rw-r--r-- | src/video_core/shader_notify.h | 2 | 
2 files changed, 2 insertions, 2 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; diff --git a/src/video_core/shader_notify.h b/src/video_core/shader_notify.h index ad363bfb5..4d8d52071 100644 --- a/src/video_core/shader_notify.h +++ b/src/video_core/shader_notify.h @@ -28,6 +28,6 @@ private:      bool completed{};      int num_when_completed{}; -    std::chrono::high_resolution_clock::time_point complete_time; +    std::chrono::steady_clock::time_point complete_time;  };  } // namespace VideoCore | 
