diff options
| author | 2021-04-20 11:56:40 -0700 | |
|---|---|---|
| committer | 2021-04-20 11:56:40 -0700 | |
| commit | 8cdd86fa2502c9c487da373ae12aa2c2363c8e6e (patch) | |
| tree | 3a0c73f0b764495982290d04edaf99e65e596daa | |
| parent | Merge pull request #6207 from lat9nq/sdl-2.0.14 (diff) | |
| parent | texture_cache/util: Fix src being used instead of dst within DeduceBlitImages (diff) | |
| download | yuzu-8cdd86fa2502c9c487da373ae12aa2c2363c8e6e.tar.gz yuzu-8cdd86fa2502c9c487da373ae12aa2c2363c8e6e.tar.xz yuzu-8cdd86fa2502c9c487da373ae12aa2c2363c8e6e.zip | |
Merge pull request #6218 from lioncash/tcache
texture_cache/util: Fix src being used instead of dst within DeduceBlitImages case
| -rw-r--r-- | src/video_core/texture_cache/util.cpp | 2 |
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* | |||
| 1139 | dst_info.format = src->info.format; | 1139 | dst_info.format = src->info.format; |
| 1140 | } | 1140 | } |
| 1141 | if (!src && dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) { | 1141 | if (!src && dst && GetFormatType(dst->info.format) != SurfaceType::ColorTexture) { |
| 1142 | src_info.format = src->info.format; | 1142 | src_info.format = dst->info.format; |
| 1143 | } | 1143 | } |
| 1144 | } | 1144 | } |
| 1145 | 1145 | ||