diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-12-24 02:55:48 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-12-24 02:55:48 +0100 |
commit | 481b210c0d035d3de36dc7845802135d90d25a8b (patch) | |
tree | 40fb9593457a28b9389140a2e649b9423a414a5b /src/video_core/texture_cache | |
parent | Merge pull request #7614 from liushuyu/fix-linux-inhibit (diff) | |
download | yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.gz yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.bz2 yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.lz yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.xz yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.tar.zst yuzu-481b210c0d035d3de36dc7845802135d90d25a8b.zip |
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index 2e19fced2..b494152b8 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -1397,7 +1397,8 @@ ImageViewId TextureCache<P>::FindOrEmplaceImageView(ImageId image_id, const Imag if (const ImageViewId image_view_id = image.FindView(info); image_view_id) { return image_view_id; } - const ImageViewId image_view_id = slot_image_views.insert(runtime, info, image_id, image); + const ImageViewId image_view_id = + slot_image_views.insert(runtime, info, image_id, image, slot_images); image.InsertView(info, image_view_id); return image_view_id; } |