diff options
author | bunnei <bunneidev@gmail.com> | 2023-05-25 06:00:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-25 06:00:53 +0200 |
commit | 73a0ea0738a45205a61c92f5036c288d3379d079 (patch) | |
tree | ce91906d0ad01e0542c3955d85724a63f56ec7c5 /src/video_core | |
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 yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.gz yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.bz2 yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.lz yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.xz yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.zst yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.zip |
Diffstat (limited to 'src/video_core')
-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 if (!copy.must_accelerate) { do { if (!src_id && !dst_id) { - break; + return std::nullopt; } if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { break; |