Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8092ec2 commit 0307df1Copy full SHA for 0307df1
1 file changed
03_Drawing_a_triangle/03_Drawing/01_Command_buffers.md
@@ -82,7 +82,7 @@ the end:
82
```c++
83
void cleanup() {
84
vkDestroyCommandPool(device, commandPool, nullptr);
85
-
+
86
...
87
}
88
```
@@ -126,10 +126,6 @@ void createCommandBuffers() {
126
127
128
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
133
Command buffers are allocated with the `vkAllocateCommandBuffers` function,
134
which takes a `VkCommandBufferAllocateInfo` struct as parameter that specifies
135
the command pool and number of buffers to allocate:
0 commit comments