diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-08 22:45:25 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-05 21:49:18 +0200 |
commit | c13433aee4032ce654de1db31a93e4aed578596f (patch) | |
tree | 3e967b11b147323ec848ec8073b944c1a8493af1 /src/video_core/gpu.cpp | |
parent | nvhost_ctrl: Corrections to event handling (diff) | |
download | yuzu-c13433aee4032ce654de1db31a93e4aed578596f.tar yuzu-c13433aee4032ce654de1db31a93e4aed578596f.tar.gz yuzu-c13433aee4032ce654de1db31a93e4aed578596f.tar.bz2 yuzu-c13433aee4032ce654de1db31a93e4aed578596f.tar.lz yuzu-c13433aee4032ce654de1db31a93e4aed578596f.tar.xz yuzu-c13433aee4032ce654de1db31a93e4aed578596f.tar.zst yuzu-c13433aee4032ce654de1db31a93e4aed578596f.zip |
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index ee976f81f..c71f0f9bf 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -69,7 +69,7 @@ const DmaPusher& GPU::DmaPusher() const { void GPU::IncrementSyncPoint(const u32 syncpoint_id) { syncpoints[syncpoint_id]++; - sync_guard.lock(); + sync_mutex.lock(); if (!events[syncpoint_id].empty()) { u32 value = syncpoints[syncpoint_id].load(); auto it = events[syncpoint_id].begin(); @@ -82,7 +82,7 @@ void GPU::IncrementSyncPoint(const u32 syncpoint_id) { it++; } } - sync_guard.unlock(); + sync_mutex.unlock(); } u32 GPU::GetSyncpointValue(const u32 syncpoint_id) const { |