diff options
| author | 2022-02-02 14:05:55 -0500 | |
|---|---|---|
| committer | 2022-02-02 14:20:58 -0500 | |
| commit | 856f576c05f378e524f633b04f1e0a63bab6cea7 (patch) | |
| tree | 2901f3b7964effe5a708f3f3ac5a81064e19afa6 /src | |
| parent | Merge pull request #7807 from german77/moar-buttons (diff) | |
| download | yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.tar.gz yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.tar.xz yuzu-856f576c05f378e524f633b04f1e0a63bab6cea7.zip | |
texture_cache: Amend unintended bitwise OR in SynchronizeAliases
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 2 |
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) { | |||
| 1725 | }); | 1725 | }); |
| 1726 | const auto& resolution = Settings::values.resolution_info; | 1726 | const auto& resolution = Settings::values.resolution_info; |
| 1727 | for (const AliasedImage* const aliased : aliased_images) { | 1727 | for (const AliasedImage* const aliased : aliased_images) { |
| 1728 | if (!resolution.active | !any_rescaled) { | 1728 | if (!resolution.active || !any_rescaled) { |
| 1729 | CopyImage(image_id, aliased->id, aliased->copies); | 1729 | CopyImage(image_id, aliased->id, aliased->copies); |
| 1730 | continue; | 1730 | continue; |
| 1731 | } | 1731 | } |