mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-01-10 11:48:13 -05:00
simplify BufferMapCallback by removing its C variant
This commit is contained in:
@@ -144,9 +144,7 @@ impl Test<'_> {
|
||||
Some(expect.data.len() as u64),
|
||||
wgc::resource::BufferMapOperation {
|
||||
host: wgc::device::HostMap::Read,
|
||||
callback: Some(wgc::resource::BufferMapCallback::from_rust(Box::new(
|
||||
map_callback,
|
||||
))),
|
||||
callback: Some(Box::new(map_callback)),
|
||||
},
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user