From bbc6cf5c073ea419c699e79cf2cb694d5a763e77 Mon Sep 17 00:00:00 2001 From: mars Date: Mon, 18 Apr 2022 02:12:05 -0600 Subject: [PATCH] Unset staging buffer mapped_at_creation --- src/staging.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/staging.rs b/src/staging.rs index 1f1e9b7..fd5fe49 100644 --- a/src/staging.rs +++ b/src/staging.rs @@ -18,7 +18,7 @@ impl StagingPool { 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 {