Skip to content

Commit

Permalink
Vulkan: Fix framebuffer leak.
Browse files Browse the repository at this point in the history
Evident in God of War.
  • Loading branch information
unknownbrackets committed Nov 5, 2017
1 parent 3c591ad commit 63e78ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/native/thin3d/VulkanQueueRunner.cpp
Expand Up @@ -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.
Expand Down

0 comments on commit 63e78ef

Please sign in to comment.