diff --git a/WickedEngine/wiGraphicsDevice_Vulkan.cpp b/WickedEngine/wiGraphicsDevice_Vulkan.cpp index 54f2fa3dd..d0f3315ac 100644 --- a/WickedEngine/wiGraphicsDevice_Vulkan.cpp +++ b/WickedEngine/wiGraphicsDevice_Vulkan.cpp @@ -2982,17 +2982,10 @@ using namespace Vulkan_Internal; renderPassInfo.dependencyCount = 1; renderPassInfo.pDependencies = &dependency; - { - auto renderpass_internal = to_internal(&internal_state->renderpass); - if (renderpass_internal != nullptr && renderpass_internal->renderpass != VK_NULL_HANDLE) - { - allocationhandler->destroyer_renderpasses.push_back(std::make_pair(renderpass_internal->renderpass, allocationhandler->framecount)); - } - } - internal_state->renderpass = RenderPass(); wiHelper::hash_combine(internal_state->renderpass.hash, internal_state->swapChainImageFormat); auto renderpass_internal = std::make_shared(); + renderpass_internal->allocationhandler = allocationhandler; internal_state->renderpass.internal_state = renderpass_internal; internal_state->renderpass.desc.attachments.push_back(RenderPassAttachment::RenderTarget()); res = vkCreateRenderPass(device, &renderPassInfo, nullptr, &renderpass_internal->renderpass); diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index d596f1ae6..090b3f4cc 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wiVersion // minor features, major updates, breaking compatibility changes const int minor = 56; // minor bug fixes, alterations, refactors, updates - const int revision = 69; + const int revision = 70; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);