Skip to content

Commit 1809b0d

Browse files
committed
End command buffer before discarding.
1 parent 250d2b2 commit 1809b0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vulkan/device.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,7 @@ void Device::submit_discard_nolock(CommandBufferHandle &cmd)
12281228
pool.signal_submitted(cmd->get_command_buffer());
12291229
#endif
12301230

1231+
cmd->end();
12311232
cmd.reset();
12321233
decrement_frame_counter_nolock();
12331234
}

0 commit comments

Comments
 (0)