Vulkan: Fix framebuffer leak.

Evident in God of War.
This commit is contained in:
Unknown W. Brackets committed 2017-11-05 14:21:41 -08:00
1 parent 3c591ad9ca
commit 63e78ef3e8
1 file changed
+1 -1
+1 -1
View File
@@ -326,8 +326,8 @@ void VulkanQueueRunner::PerformRenderPass(const VKRStep &step, VkCommandBuffer c
vkCmdPipelineBarrier(cmd, srcStage, dstStage, 0, 0, nullptr, 0, nullptr, 1, &barrier);
iter.fb->color.layout = barrier.newLayout;
iter.fb->Release();
}
iter.fb->Release();
}
// This is supposed to bind a vulkan render pass to the command buffer.