diff --git a/vulkano/src/command_buffer/commands/pipeline.rs b/vulkano/src/command_buffer/commands/pipeline.rs index 5ae954e0..d77359f0 100644 --- a/vulkano/src/command_buffer/commands/pipeline.rs +++ b/vulkano/src/command_buffer/commands/pipeline.rs @@ -4738,7 +4738,7 @@ impl RawRecordingCommandBuffer { })); } } else { - if size_of::() as DeviceSize > indirect_buffer.size() { + if size_of::() as DeviceSize > indirect_buffer.size() { return Err(Box::new(ValidationError { problem: "`draw_count` is 1, but `size_of::()` \ is greater than `indirect_buffer.size()`"