diff options
| author | Tilka <tilkax@gmail.com> | 2024-08-16 18:31:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 18:31:07 +0100 |
| commit | d10c3aaf293d4a5bea332e426882dcb70b5b8b3e (patch) | |
| tree | 486c3c70304b20617470b0173cb9440f7cb2d55b /Source/Core/VideoCommon/ShaderCache.cpp | |
| parent | 7c21bcd991e38cceccfce7c47c21b1422261bdfe (diff) | |
| parent | de1c47a70192a594c2435daa14b58950a613e2ce (diff) | |
Merge pull request #13012 from mitaclaw/Use-contains-method-2
Use contains method 2
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/ShaderCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp index ca409777ce..587ee3cc7f 100644 --- a/Source/Core/VideoCommon/ShaderCache.cpp +++ b/Source/Core/VideoCommon/ShaderCache.cpp @@ -290,7 +290,7 @@ void ShaderCache::LoadPipelineCache(T& cache, Common::LinearDiskCache<DiskKeyTyp UnserializePipelineUid(key, real_uid); // Skip those which are already compiled. - if (failed || cache.find(real_uid) != cache.end()) + if (failed || cache.contains(real_uid)) return; auto config = this_ptr->GetGXPipelineConfig(real_uid); |
