mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-25 04:55:36 +00:00
Texture Cache: Fix blitting.
This commit is contained in:
parent
e6f1ed08fb
commit
6cdfaee7b4
|
@ -1157,10 +1157,10 @@ void DeduceBlitImages(ImageInfo& dst_info, ImageInfo& src_info, const ImageBase*
|
||||||
if (dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
if (dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
||||||
dst_info.format = dst->info.format;
|
dst_info.format = dst->info.format;
|
||||||
}
|
}
|
||||||
if (!dst && src && GetFormatType(src->info.format) != SurfaceType::ColorTexture) {
|
if (src && GetFormatType(src->info.format) != SurfaceType::ColorTexture) {
|
||||||
dst_info.format = src->info.format;
|
dst_info.format = src->info.format;
|
||||||
}
|
}
|
||||||
if (!src && dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
if (dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
|
||||||
src_info.format = dst->info.format;
|
src_info.format = dst->info.format;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue