summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-04-19 19:01:48 +0200
committerLioncash <mathew1800@gmail.com>2021-04-19 19:01:50 +0200
commit17b7f0389a8f1968d9259a1249fa568cfe9492f5 (patch)
tree468ca03357bd6a11132364e2f9334727d7abbf84 /src/video_core
parentMerge pull request #6208 from lat9nq/boost-static (diff)
downloadyuzu-17b7f0389a8f1968d9259a1249fa568cfe9492f5.tar
yuzu-17b7f0389a8f1968d9259a1249fa568cfe9492f5.tar.gz
yuzu-17b7f0389a8f1968d9259a1249fa568cfe9492f5.tar.bz2
yuzu-17b7f0389a8f1968d9259a1249fa568cfe9492f5.tar.lz
yuzu-17b7f0389a8f1968d9259a1249fa568cfe9492f5.tar.xz
yuzu-17b7f0389a8f1968d9259a1249fa568cfe9492f5.tar.zst
yuzu-17b7f0389a8f1968d9259a1249fa568cfe9492f5.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/texture_cache/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp
index 0ab297413..8c4a5523b 100644
--- a/src/video_core/texture_cache/util.cpp
+++ b/src/video_core/texture_cache/util.cpp
@@ -1139,7 +1139,7 @@ void DeduceBlitImages(ImageInfo& dst_info, ImageInfo& src_info, const ImageBase*
dst_info.format = src->info.format;
}
if (!src && dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) {
- src_info.format = src->info.format;
+ src_info.format = dst->info.format;
}
}