Skip to content

Commit

Permalink
Fix StandardCommandBufferAllocator example docs (#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0246 authored Oct 31, 2022
1 parent 380e661 commit 6b2d21e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions examples/src/bin/triangle-v1_3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,6 @@ fn main() {
// Before we can start creating and recording command buffers, we need a way of allocating
// them. Vulkano provides a command buffer allocator, which manages raw Vulkan command pools
// underneath and provides a safe interface for them.
//
// A Vulkan command pool only works for one queue family, and vulkano's command buffer allocator
// reflects that, therefore we need to pass the queue family during creation.
let command_buffer_allocator =
StandardCommandBufferAllocator::new(device.clone(), Default::default());

Expand Down
3 changes: 0 additions & 3 deletions examples/src/bin/triangle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,6 @@ fn main() {
// Before we can start creating and recording command buffers, we need a way of allocating
// them. Vulkano provides a command buffer allocator, which manages raw Vulkan command pools
// underneath and provides a safe interface for them.
//
// A Vulkan command pool only works for one queue family, and vulkano's command buffer allocator
// reflects that, therefore we need to pass the queue family during creation.
let command_buffer_allocator =
StandardCommandBufferAllocator::new(device.clone(), Default::default());

Expand Down

0 comments on commit 6b2d21e

Please sign in to comment.