From 240a32f4c8972e3f53bd238ae0b3e2c12b976edb Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Sun, 16 Jun 2019 10:31:12 +0200 Subject: [PATCH] - also reset framebuffers when the image is reset --- src/rendering/vulkan/textures/vk_imagetransition.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rendering/vulkan/textures/vk_imagetransition.h b/src/rendering/vulkan/textures/vk_imagetransition.h index c12918d042..916f20c248 100644 --- a/src/rendering/vulkan/textures/vk_imagetransition.h +++ b/src/rendering/vulkan/textures/vk_imagetransition.h @@ -12,6 +12,8 @@ public: { AspectMask = VK_IMAGE_ASPECT_COLOR_BIT; Layout = VK_IMAGE_LAYOUT_UNDEFINED; + PPFramebuffer.reset(); + RSFramebuffers.clear(); DepthOnlyView.reset(); View.reset(); Image.reset();