From 312bf6840eccc4a00daae50b510bd98570a6be79 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 7 Sep 2019 18:32:15 +0300 Subject: [PATCH] vk: Fix surface_transform::argb_to_bgra transfers when no scaling is requested --- rpcs3/Emu/RSX/VK/VKTextureCache.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/VKTextureCache.h b/rpcs3/Emu/RSX/VK/VKTextureCache.h index 70151a67de..f8b87097e7 100644 --- a/rpcs3/Emu/RSX/VK/VKTextureCache.h +++ b/rpcs3/Emu/RSX/VK/VKTextureCache.h @@ -621,6 +621,10 @@ namespace vk 1, new_src_aspect, tmp->info.format == _dst->info.format, VK_FILTER_NEAREST, tmp->info.format, _dst->info.format); } + else + { + _dst = tmp; + } } else {