summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader_notify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader_notify.cpp')
-rw-r--r--src/video_core/shader_notify.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/shader_notify.cpp b/src/video_core/shader_notify.cpp
index 46fd0baae..c3c71657d 100644
--- a/src/video_core/shader_notify.cpp
+++ b/src/video_core/shader_notify.cpp
@@ -25,17 +25,17 @@ std::size_t ShaderNotify::GetShadersBuilding() {
}
std::size_t ShaderNotify::GetShadersBuildingAccurate() {
- std::shared_lock lock(mutex);
+ std::shared_lock lock{mutex};
return accurate_count;
}
void ShaderNotify::MarkShaderComplete() {
- std::unique_lock lock(mutex);
+ std::unique_lock lock{mutex};
accurate_count--;
}
void ShaderNotify::MarkSharderBuilding() {
- std::unique_lock lock(mutex);
+ std::unique_lock lock{mutex};
accurate_count++;
}