diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-06 22:48:48 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-06 23:00:20 +0200 |
commit | 58b597c5eca01d3b9d8b2348d879d0340c80f346 (patch) | |
tree | 1a1a50a8618ff7175098db81f62e9e0abf8bf668 /src/video_core/renderer_opengl/gl_shader_disk_cache.h | |
parent | Merge pull request #2942 from ReinUsesLisp/clang-warnings (diff) | |
download | yuzu-58b597c5eca01d3b9d8b2348d879d0340c80f346.tar yuzu-58b597c5eca01d3b9d8b2348d879d0340c80f346.tar.gz yuzu-58b597c5eca01d3b9d8b2348d879d0340c80f346.tar.bz2 yuzu-58b597c5eca01d3b9d8b2348d879d0340c80f346.tar.lz yuzu-58b597c5eca01d3b9d8b2348d879d0340c80f346.tar.xz yuzu-58b597c5eca01d3b9d8b2348d879d0340c80f346.tar.zst yuzu-58b597c5eca01d3b9d8b2348d879d0340c80f346.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_disk_cache.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_disk_cache.h b/src/video_core/renderer_opengl/gl_shader_disk_cache.h index cc8bbd61e..9595bd71b 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.h @@ -224,9 +224,6 @@ private: bool SaveDecompiledFile(u64 unique_identifier, const std::string& code, const GLShader::ShaderEntries& entries); - /// Returns if the cache can be used - bool IsUsable() const; - /// Opens current game's transferable file and write it's header if it doesn't exist FileUtil::IOFile AppendTransferableFile() const; @@ -297,7 +294,7 @@ private: std::unordered_map<u64, std::unordered_set<ShaderDiskCacheUsage>> transferable; // The cache has been loaded at boot - bool tried_to_load{}; + bool is_usable{}; }; } // namespace OpenGL |