Update readme
This commit is contained in:
parent
d24c0293a5
commit
173bb67b5c
|
@ -81,14 +81,6 @@ device.cmd_pipeline_barrier(setup_command_buffer,
|
|||
&[],
|
||||
&[layout_transition_barrier]);
|
||||
|
||||
// or
|
||||
|
||||
let slice = device.map_memory::<Vertex>(vertex_input_buffer_memory,
|
||||
0,
|
||||
vertex_input_buffer_info.size,
|
||||
vk::MemoryMapFlags::empty())
|
||||
.unwrap();
|
||||
slice.copy_from_slice(&vertices);
|
||||
```
|
||||
|
||||
### Type safety
|
||||
|
|
Loading…
Reference in a new issue