Permalink
Browse files

Vulkan: Fix framebuffer leak.

Evident in God of War.
  • Loading branch information...
unknownbrackets committed Nov 5, 2017
1 parent 3c591ad commit 63e78ef3e8003c01a26c76dff4029a68bdb8eb97
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/native/thin3d/VulkanQueueRunner.cpp
@@ -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.

0 comments on commit 63e78ef

Please sign in to comment.