summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-02-02 20:05:55 +0100
committerLioncash <mathew1800@gmail.com>2022-02-02 20:20:58 +0100
commit856f576c05f378e524f633b04f1e0a63bab6cea7 (patch)
tree2901f3b7964effe5a708f3f3ac5a81064e19afa6 /src/video_core/texture_cache
parentMerge pull request #7807 from german77/moar-buttons (diff)
downloadyuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.tar
yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.tar.gz
yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.tar.bz2
yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.tar.lz
yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.tar.xz
yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.tar.zst
yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index 198bb0cfb..bc45720b6 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -1725,7 +1725,7 @@ void TextureCache<P>::SynchronizeAliases(ImageId image_id) {
});
const auto& resolution = Settings::values.resolution_info;
for (const AliasedImage* const aliased : aliased_images) {
- if (!resolution.active | !any_rescaled) {
+ if (!resolution.active || !any_rescaled) {
CopyImage(image_id, aliased->id, aliased->copies);
continue;
}