diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-05-01 19:46:03 +0200 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-05-11 07:42:38 +0200 |
commit | bf08bc3c0fe7dc6c3ebc32861d954c0ea7598a5e (patch) | |
tree | 47b1b46b04623bd860ac07e09a190d65f1ac3d06 /src/video_core/texture_cache | |
parent | Merge pull request #10183 from liamwhite/mods (diff) | |
download | yuzu-bf08bc3c0fe7dc6c3ebc32861d954c0ea7598a5e.tar yuzu-bf08bc3c0fe7dc6c3ebc32861d954c0ea7598a5e.tar.gz yuzu-bf08bc3c0fe7dc6c3ebc32861d954c0ea7598a5e.tar.bz2 yuzu-bf08bc3c0fe7dc6c3ebc32861d954c0ea7598a5e.tar.lz yuzu-bf08bc3c0fe7dc6c3ebc32861d954c0ea7598a5e.tar.xz yuzu-bf08bc3c0fe7dc6c3ebc32861d954c0ea7598a5e.tar.zst yuzu-bf08bc3c0fe7dc6c3ebc32861d954c0ea7598a5e.zip |
Diffstat (limited to 'src/video_core/texture_cache')
-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 e1198dcf8..b24086fce 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -1469,7 +1469,7 @@ std::optional<typename TextureCache<P>::BlitImages> TextureCache<P>::GetBlitImag if (!copy.must_accelerate) { do { if (!src_id && !dst_id) { - return std::nullopt; + break; } if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { break; |