summaryrefslogtreecommitdiff
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() {
25} 25}
26 26
27std::size_t ShaderNotify::GetShadersBuildingAccurate() { 27std::size_t ShaderNotify::GetShadersBuildingAccurate() {
28 std::shared_lock lock(mutex); 28 std::shared_lock lock{mutex};
29 return accurate_count; 29 return accurate_count;
30} 30}
31 31
32void ShaderNotify::MarkShaderComplete() { 32void ShaderNotify::MarkShaderComplete() {
33 std::unique_lock lock(mutex); 33 std::unique_lock lock{mutex};
34 accurate_count--; 34 accurate_count--;
35} 35}
36 36
37void ShaderNotify::MarkSharderBuilding() { 37void ShaderNotify::MarkSharderBuilding() {
38 std::unique_lock lock(mutex); 38 std::unique_lock lock{mutex};
39 accurate_count++; 39 accurate_count++;
40} 40}
41 41