remove todo

This commit is contained in:
Carter Anderson 2020-05-05 13:34:15 -07:00
parent 2b0c9491a1
commit cb49e14ae0

View file

@ -219,8 +219,6 @@ impl RenderResourceContext for WgpuRenderResourceContext {
buffer_info: BufferInfo,
setup_data: &mut dyn FnMut(&mut [u8], &dyn RenderResourceContext),
) -> RenderResource {
// TODO: consider moving this below "create" for efficiency
let mut mapped = self.device.create_buffer_mapped(&wgpu::BufferDescriptor {
size: buffer_info.size as u64,
usage: buffer_info.buffer_usage.wgpu_into(),