diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-10-12 07:45:54 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:31 +0100 |
commit | 4de584005fe8ae00608f8c3267a78e7cf0eb52aa (patch) | |
tree | adbbf400f85034b0661513f27f56e110685c2950 /src/video_core/texture_cache/image_base.cpp | |
parent | vk_texture_cache: Fix BlitScale of non-2D images (diff) | |
download | yuzu-4de584005fe8ae00608f8c3267a78e7cf0eb52aa.tar yuzu-4de584005fe8ae00608f8c3267a78e7cf0eb52aa.tar.gz yuzu-4de584005fe8ae00608f8c3267a78e7cf0eb52aa.tar.bz2 yuzu-4de584005fe8ae00608f8c3267a78e7cf0eb52aa.tar.lz yuzu-4de584005fe8ae00608f8c3267a78e7cf0eb52aa.tar.xz yuzu-4de584005fe8ae00608f8c3267a78e7cf0eb52aa.tar.zst yuzu-4de584005fe8ae00608f8c3267a78e7cf0eb52aa.zip |
Diffstat (limited to 'src/video_core/texture_cache/image_base.cpp')
-rw-r--r-- | src/video_core/texture_cache/image_base.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/image_base.cpp b/src/video_core/texture_cache/image_base.cpp index 25a211df8..1909c9ecb 100644 --- a/src/video_core/texture_cache/image_base.cpp +++ b/src/video_core/texture_cache/image_base.cpp @@ -256,6 +256,8 @@ void AddImageAlias(ImageBase& lhs, ImageBase& rhs, ImageId lhs_id, ImageId rhs_i } lhs.aliased_images.push_back(std::move(lhs_alias)); rhs.aliased_images.push_back(std::move(rhs_alias)); + lhs.flags &= ~ImageFlagBits::IsRescalable; + rhs.flags &= ~ImageFlagBits::IsRescalable; } } // namespace VideoCommon |