summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-05-24 10:52:02 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-05-24 10:52:02 +0200
commitbe3a7f4096a5e8554ca81ef5176a6a32d28d609e (patch)
treeaeff102e622fcfc7ee31bde39a9b50e3bc2298d2 /src/video_core
parentMerge pull request #10422 from liamwhite/gc (diff)
downloadyuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.tar
yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.tar.gz
yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.tar.bz2
yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.tar.lz
yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.tar.xz
yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.tar.zst
yuzu-be3a7f4096a5e8554ca81ef5176a6a32d28d609e.zip
Diffstat (limited to 'src/video_core')
-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 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;