Skip to content

Commit 3bc01a0

Browse files
committed
Fixed vsgexecutecommands crash
1 parent 78aa023 commit 3bc01a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vsg/app/SecondaryCommandGraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void SecondaryCommandGraph::record(ref_ptr<RecordedCommandBuffers> recordedComma
111111

112112
commandBuffer->numDependentSubmissions().fetch_add(1);
113113

114-
recordTraversal->getState()->_commandBuffer = commandBuffer;
114+
recordTraversal->getState()->connect(commandBuffer);
115115

116116
// or select index when maps to a dormant CommandBuffer
117117
VkCommandBuffer vk_commandBuffer = *commandBuffer;

0 commit comments

Comments
 (0)