- release any references to command buffer when flushed
This commit is contained in:
parent
cc1f18a328
commit
7d73616fda
2 changed files with 2 additions and 2 deletions
|
|
@ -251,6 +251,8 @@ void VulkanFrameBuffer::FlushCommands(VulkanCommandBuffer **commands, size_t cou
|
|||
|
||||
void VulkanFrameBuffer::FlushCommands(bool finish, bool lastsubmit)
|
||||
{
|
||||
mRenderState->EndRenderPass();
|
||||
|
||||
if (mDrawCommands || mTransferCommands)
|
||||
{
|
||||
VulkanCommandBuffer *commands[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue