diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-12-23 20:55:48 -0500 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-12-23 20:55:48 -0500 |
commit | 481b210c0d035d3de36dc7845802135d90d25a8b (patch) | |
tree | 40fb9593457a28b9389140a2e649b9423a414a5b /src/video_core/gpu.cpp | |
parent | 516325eba85c759d0164de9690c5c3ab0b865155 (diff) |
vk_texture_cache: Fix invalidated pointer access
The vulkan ImageView held a reference to its source image for rescale status checking. This pointer is sometimes invalidated when the texture cache slot_images container is resized.
To avoid an invalid pointer dereference, the ImageView now holds a reference to the container itself.
Diffstat (limited to 'src/video_core/gpu.cpp')
0 files changed, 0 insertions, 0 deletions