aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/texture_cache.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-05-11 10:45:59 -0400
committerGitHub <noreply@github.com>2023-05-11 10:45:59 -0400
commit483860511442235ebd9eb751e8672e7ecc4c1665 (patch)
tree53197c7461115b3f7c4855353356bd1a5ba17a0f /src/video_core/texture_cache/texture_cache.h
parent855502e6693438be55d9e248755c553f5b030d14 (diff)
parentfc6c77f7ae5be9e1ee5769dc7a6e15d4d1cc9fb0 (diff)
Merge pull request #10132 from Kelebek1/fermi_blit2
Allow Fermi blit accelerate to work without images in cache
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
-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 e1198dcf8c..b24086fce5 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;