Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0307df1

Browse files
committed
Remove pointless reference to vkFreeCommandBuffers
1 parent 8092ec2 commit 0307df1

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

03_Drawing_a_triangle/03_Drawing/01_Command_buffers.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ the end:
8282
```c++
8383
void cleanup() {
8484
vkDestroyCommandPool(device, commandPool, nullptr);
85-
85+
8686
...
8787
}
8888
```
@@ -126,10 +126,6 @@ void createCommandBuffers() {
126126
}
127127
```
128128

129-
Cleaning up command buffers involves a slightly different function than other
130-
objects. The `vkFreeCommandBuffers` function takes the command pool and an array
131-
of command buffers as parameters.
132-
133129
Command buffers are allocated with the `vkAllocateCommandBuffers` function,
134130
which takes a `VkCommandBufferAllocateInfo` struct as parameter that specifies
135131
the command pool and number of buffers to allocate:

0 commit comments

Comments
 (0)