mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Simplify VertexInputState::default()
(#2502)
This commit is contained in:
parent
efab013e48
commit
93b6e9401f
@ -448,11 +448,7 @@ impl VertexInputState {
|
|||||||
impl Default for VertexInputState {
|
impl Default for VertexInputState {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self::new()
|
||||||
bindings: HashMap::default(),
|
|
||||||
attributes: HashMap::default(),
|
|
||||||
_ne: crate::NonExhaustive(()),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user