diff options
| author | 2020-07-18 14:24:32 +1000 | |
|---|---|---|
| committer | 2020-07-18 14:24:32 +1000 | |
| commit | 967307d3beb59b64e40c4b3f44ed839d87325e5c (patch) | |
| tree | 31c44595c797f29df24a3890fa9c26cd3f4c7332 /src/video_core/shader_notify.cpp | |
| parent | Drop settings namespace (diff) | |
| download | yuzu-967307d3beb59b64e40c4b3f44ed839d87325e5c.tar.gz yuzu-967307d3beb59b64e40c4b3f44ed839d87325e5c.tar.xz yuzu-967307d3beb59b64e40c4b3f44ed839d87325e5c.zip | |
Fix style issues
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 | ||