mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #6218 from lioncash/tcache
texture_cache/util: Fix src being used instead of dst within DeduceBlitImages case
This commit is contained in:
commit
8cdd86fa25
1 changed files with 1 additions and 1 deletions
|
@ -1139,7 +1139,7 @@ void DeduceBlitImages(ImageInfo& dst_info, ImageInfo& src_info, const ImageBase*
|
||||||
dst_info.format = src->info.format;
|
dst_info.format = src->info.format;
|
||||||
}
|
}
|
||||||
if (!src && dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
if (!src && dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
||||||
src_info.format = src->info.format;
|
src_info.format = dst->info.format;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue