aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/shader_notify.h
diff options
context:
space:
mode:
authorMorph <[email protected]>2021-12-02 14:20:43 -0500
committerMorph <[email protected]>2021-12-02 14:20:43 -0500
commit762b8ad448369cc770beae4d8368a6258b13709e (patch)
treecff2c5d404b77e93e875fbf40cf78ea6d30d32b0 /src/video_core/shader_notify.h
parent8a613f6c8f60d504d167970661b7a2a5e636c8d5 (diff)
downloadyuzu-mainline-762b8ad448369cc770beae4d8368a6258b13709e.tar.gz
yuzu-mainline-762b8ad448369cc770beae4d8368a6258b13709e.zip
general: Replace high_resolution_clock with steady_clock
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
Diffstat (limited to 'src/video_core/shader_notify.h')
-rw-r--r--src/video_core/shader_notify.h2
1 files changed, 1 insertions, 1 deletions
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