1
0
Fork 0
forked from suyu/suyu

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

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;