mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-08-18 22:42:23 +00:00
centralize swizzles
This commit is contained in:
@@ -154,8 +154,9 @@ static void ConfigurePreparedFrame(PreparedFrame* frame, VkExtent2D extent, VkFo
|
||||
return;
|
||||
}
|
||||
if (dst.image != nullptr) {
|
||||
EXIT_IF(!dst.view_cache.views.empty());
|
||||
VulkanDeleteImage(ctx, &dst, &dst.memory);
|
||||
dst = VulkanImage(VulkanImageType::Unknown);
|
||||
dst.memory = {};
|
||||
}
|
||||
|
||||
dst.extent = extent;
|
||||
|
||||
Reference in New Issue
Block a user