diff --git a/README.md b/README.md index 3817a3b..0701432 100644 --- a/README.md +++ b/README.md @@ -81,14 +81,6 @@ device.cmd_pipeline_barrier(setup_command_buffer, &[], &[layout_transition_barrier]); -// or - -let slice = device.map_memory::(vertex_input_buffer_memory, - 0, - vertex_input_buffer_info.size, - vk::MemoryMapFlags::empty()) - .unwrap(); -slice.copy_from_slice(&vertices); ``` ### Type safety