diff options
author | Lioncash <mathew1800@gmail.com> | 2020-07-21 06:29:23 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-07-21 06:36:13 +0200 |
commit | 6adc824d9d15b476320739788564023f995b9da0 (patch) | |
tree | bb5f4932c851a88e5a9e05ddceb4ebb26c11403b /src/video_core/renderer_opengl/gl_shader_cache.cpp | |
parent | Merge pull request #4376 from ogniK5377/dark-wait-tree (diff) | |
download | yuzu-6adc824d9d15b476320739788564023f995b9da0.tar yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.gz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.bz2 yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.lz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.xz yuzu-6adc824d9d15b476320739788564023f995b9da0.tar.zst yuzu-6adc824d9d15b476320739788564023f995b9da0.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_cache.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index f469ed656..b52fa8b6a 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -126,7 +126,7 @@ std::shared_ptr<Registry> MakeRegistry(const ShaderDiskCacheEntry& entry) { const VideoCore::GuestDriverProfile guest_profile{entry.texture_handler_size}; const VideoCommon::Shader::SerializedRegistryInfo info{guest_profile, entry.bound_buffer, entry.graphics_info, entry.compute_info}; - const auto registry = std::make_shared<Registry>(entry.type, info); + auto registry = std::make_shared<Registry>(entry.type, info); for (const auto& [address, value] : entry.keys) { const auto [buffer, offset] = address; registry->InsertKey(buffer, offset, value); |