vulkan swapchain fix
This commit is contained in:
@@ -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_Vulkan>();
|
||||
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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user