mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
Vulkan: Fix framebuffer leak.
Evident in God of War.
This commit is contained in:
1 parent
3c591ad9ca
commit
63e78ef3e8
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user