summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-02-02 14:05:55 -0500
committerLioncash <mathew1800@gmail.com>2022-02-02 14:20:58 -0500
commit856f576c05f378e524f633b04f1e0a63bab6cea7 (patch)
tree2901f3b7964effe5a708f3f3ac5a81064e19afa6
parent72add82ee99bdf43d655bf33c005da1002f0e650 (diff)
texture_cache: Amend unintended bitwise OR in SynchronizeAliases
-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;
}