mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
remove todo
This commit is contained in:
parent
2b0c9491a1
commit
cb49e14ae0
1 changed files with 0 additions and 2 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue