[rs] Fix map_extent_3d in the Web backend

This commit is contained in:
Dzmitry Malyshau
2020-12-02 17:32:36 -05:00
committed by GitHub
parent 4b7a0161a3
commit 41c658df7a

View File

@@ -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
}