diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-19 08:50:47 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-19 08:50:50 +0200 |
commit | 634b78a4c6db225e71799107da913799d84450cd (patch) | |
tree | 7d530afd62d04f4f0ffabed75ca33399a6b722ec | |
parent | gl_shader_disk_cache: Make hash specializations noexcept (diff) | |
download | yuzu-634b78a4c6db225e71799107da913799d84450cd.tar yuzu-634b78a4c6db225e71799107da913799d84450cd.tar.gz yuzu-634b78a4c6db225e71799107da913799d84450cd.tar.bz2 yuzu-634b78a4c6db225e71799107da913799d84450cd.tar.lz yuzu-634b78a4c6db225e71799107da913799d84450cd.tar.xz yuzu-634b78a4c6db225e71799107da913799d84450cd.tar.zst yuzu-634b78a4c6db225e71799107da913799d84450cd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_disk_cache.cpp | 2 | ||||
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_disk_cache.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp index 4cfb88557..c446945ee 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp @@ -107,6 +107,8 @@ bool ShaderDiskCacheRaw::Save(FileUtil::IOFile& file) const { ShaderDiskCacheOpenGL::ShaderDiskCacheOpenGL(Core::System& system) : system{system}, precompiled_cache_virtual_file_offset{0} {} +ShaderDiskCacheOpenGL::~ShaderDiskCacheOpenGL() = default; + std::optional<std::pair<std::vector<ShaderDiskCacheRaw>, std::vector<ShaderDiskCacheUsage>>> ShaderDiskCacheOpenGL::LoadTransferable() { // Skip games without title id 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 7a7183f21..bafd3b3f2 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.h @@ -162,6 +162,7 @@ struct ShaderDiskCacheDump { class ShaderDiskCacheOpenGL { public: explicit ShaderDiskCacheOpenGL(Core::System& system); + ~ShaderDiskCacheOpenGL(); /// Loads transferable cache. If file has a old version or on failure, it deletes the file. std::optional<std::pair<std::vector<ShaderDiskCacheRaw>, std::vector<ShaderDiskCacheUsage>>> |