Skip to content

Commit 562ad0d

Browse files
authored
Fix documentation comments for multi_draw_*_indirect_count (#3694)
1 parent bf8e6fe commit 562ad0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wgpu/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3293,7 +3293,7 @@ impl<'a> RenderPass<'a> {
32933293
/// Dispatches multiple draw calls from the active vertex buffer(s) based on the contents of the `indirect_buffer`.
32943294
/// The count buffer is read to determine how many draws to issue.
32953295
///
3296-
/// The indirect buffer must be long enough to account for `max_count` draws, however only `count` will
3296+
/// The indirect buffer must be long enough to account for `max_count` draws, however only `count`
32973297
/// draws will be read. If `count` is greater than `max_count`, `max_count` will be used.
32983298
///
32993299
/// The active vertex buffers can be set with [`RenderPass::set_vertex_buffer`].
@@ -3335,7 +3335,7 @@ impl<'a> RenderPass<'a> {
33353335
/// Dispatches multiple draw calls from the active index buffer and the active vertex buffers,
33363336
/// based on the contents of the `indirect_buffer`. The count buffer is read to determine how many draws to issue.
33373337
///
3338-
/// The indirect buffer must be long enough to account for `max_count` draws, however only `count` will
3338+
/// The indirect buffer must be long enough to account for `max_count` draws, however only `count`
33393339
/// draws will be read. If `count` is greater than `max_count`, `max_count` will be used.
33403340
///
33413341
/// The active index buffer can be set with [`RenderPass::set_index_buffer`], while the active

0 commit comments

Comments
 (0)