Skip to content

Commit

Permalink
Simplify VertexInputState::default() (vulkano-rs#2502)
Browse files Browse the repository at this point in the history
  • Loading branch information
maratik123 authored Mar 23, 2024
1 parent efab013 commit 93b6e94
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions vulkano/src/pipeline/graphics/vertex_input/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,7 @@ impl VertexInputState {
impl Default for VertexInputState {
#[inline]
fn default() -> Self {
Self {
bindings: HashMap::default(),
attributes: HashMap::default(),
_ne: crate::NonExhaustive(()),
}
Self::new()
}
}

Expand Down

0 comments on commit 93b6e94

Please sign in to comment.