diff options
Diffstat (limited to 'src/video_core/shader_notify.cpp')
| -rw-r--r-- | src/video_core/shader_notify.cpp | 6 |
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 | ||
| 27 | std::size_t ShaderNotify::GetShadersBuildingAccurate() { | 27 | std::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 | ||
| 32 | void ShaderNotify::MarkShaderComplete() { | 32 | void ShaderNotify::MarkShaderComplete() { |
| 33 | std::unique_lock lock(mutex); | 33 | std::unique_lock lock{mutex}; |
| 34 | accurate_count--; | 34 | accurate_count--; |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | void ShaderNotify::MarkSharderBuilding() { | 37 | void ShaderNotify::MarkSharderBuilding() { |
| 38 | std::unique_lock lock(mutex); | 38 | std::unique_lock lock{mutex}; |
| 39 | accurate_count++; | 39 | accurate_count++; |
| 40 | } | 40 | } |
| 41 | 41 | ||