mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[rs] Fix map_extent_3d in the Web backend
This commit is contained in:
@@ -700,7 +700,7 @@ fn map_extent_3d(extent: wgt::Extent3d) -> web_sys::GpuExtent3dDict {
|
||||
let mut mapped = web_sys::GpuExtent3dDict::new();
|
||||
mapped.depth(extent.depth);
|
||||
mapped.height(extent.height);
|
||||
mapped.width(extent.height);
|
||||
mapped.width(extent.width);
|
||||
mapped
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user