Unset staging buffer mapped_at_creation

This commit is contained in:
mars 2022-04-18 02:12:05 -06:00
parent b6a0b345c9
commit bbc6cf5c07
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ impl<T: Clone> StagingPool<T> {
label: Some("staging buffer"),
size: stage_size as wgpu::BufferAddress,
usage: wgpu::BufferUsages::MAP_READ | wgpu::BufferUsages::COPY_SRC,
mapped_at_creation: true,
mapped_at_creation: false,
});
Self {