diff options
| author | 2023-05-24 21:00:53 -0700 | |
|---|---|---|
| committer | 2023-05-24 21:00:53 -0700 | |
| commit | 73a0ea0738a45205a61c92f5036c288d3379d079 (patch) | |
| tree | ce91906d0ad01e0542c3955d85724a63f56ec7c5 /src | |
| parent | Merge pull request #10433 from FernandoS27/theres-a-lime-coming-around (diff) | |
| parent | Texture cache: revert wrong acceleration assumption (diff) | |
| download | yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.gz yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.xz yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.zip | |
Merge pull request #10435 from FernandoS27/gotta-clean-mess-ups
Texture cache: revert wrong acceleration assumption
Diffstat (limited to 'src')
| -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 9790949f5..31d754550 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h | |||
| @@ -1507,7 +1507,7 @@ std::optional<typename TextureCache<P>::BlitImages> TextureCache<P>::GetBlitImag | |||
| 1507 | if (!copy.must_accelerate) { | 1507 | if (!copy.must_accelerate) { |
| 1508 | do { | 1508 | do { |
| 1509 | if (!src_id && !dst_id) { | 1509 | if (!src_id && !dst_id) { |
| 1510 | break; | 1510 | return std::nullopt; |
| 1511 | } | 1511 | } |
| 1512 | if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { | 1512 | if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { |
| 1513 | break; | 1513 | break; |