Merge pull request #10435 from FernandoS27/gotta-clean-mess-ups

Texture cache: revert wrong acceleration assumption
This commit is contained in:
bunnei 2023-05-24 21:00:53 -07:00 committed by GitHub
commit 73a0ea0738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1507,7 +1507,7 @@ std::optional<typename TextureCache<P>::BlitImages> TextureCache<P>::GetBlitImag
if (!copy.must_accelerate) { if (!copy.must_accelerate) {
do { do {
if (!src_id && !dst_id) { if (!src_id && !dst_id) {
break; return std::nullopt;
} }
if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) { if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) {
break; break;