From 173bb67b5ce50fffef1cb696fbb3a90352e71eb4 Mon Sep 17 00:00:00 2001 From: Maik Klein Date: Sun, 11 Jun 2017 15:02:05 +0200 Subject: [PATCH] Update readme --- README.md | 8 -------- 1 file changed, 8 deletions(-) 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