diff options
| author | bunnei <bunneidev@gmail.com> | 2021-04-20 11:56:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-20 11:56:40 -0700 |
| commit | 4dfabbe34878f4190a5ce417f6b72758ea98ae31 (patch) | |
| tree | 3a0c73f0b764495982290d04edaf99e65e596daa /src/video_core/texture_cache/util.cpp | |
| parent | 2bf74dd3e1d155b06617c9fe03e0bdb6f1701413 (diff) | |
| parent | c81f95a54b2da08e06591fbbf12518f54421e74f (diff) | |
Merge pull request #6218 from lioncash/tcache
texture_cache/util: Fix src being used instead of dst within DeduceBlitImages case
Diffstat (limited to 'src/video_core/texture_cache/util.cpp')
| -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 0ab297413d..8c4a5523b3 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; } } |
