From daa7b03c3021e7282967cc56590fe150307afadf Mon Sep 17 00:00:00 2001 From: Jason Li <166970548+jasonlihav1234@users.noreply.github.com> Date: Thu, 29 Oct 2026 17:38:42 +1100 Subject: [PATCH] Fix typo in Command Buffers documentation --- en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc b/en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc index 0ebb216a..62876e26 100644 --- a/en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc +++ b/en/03_Drawing_a_triangle/03_Drawing/01_Command_buffers.adoc @@ -60,7 +60,7 @@ There are two possible flags for command pools: We will be recording a command buffer every frame, so we want to be able to reset and rerecord over it. Thus, we need to set the `vk::CommandPoolCreateFlagBits::eResetCommandBuffer` flag bit for our command pool. -NOTE: In earlier chapters, the qraphics queue family index (`queueIndex`) was a local variable. Starting with this chapter we'll need this index in multiple places so it has been made a member of the application class. +NOTE: In earlier chapters, the graphics queue family index (`queueIndex`) was a local variable. Starting with this chapter we'll need this index in multiple places so it has been made a member of the application class. Command buffers are executed by submitting them on one of the device queues, like the graphics and presentation queues we retrieved. Each command pool can only allocate command buffers that are submitted on a single type of queue.