wgpu: fix mode which is u64 not unwrapping big int
This commit is contained in:
1 parent
b6f34332fe
commit
1223b3e260
1 file changed
+1
Vendored
+1
@@ -1365,6 +1365,7 @@ class WebGPUInterface {
|
||||
*/
|
||||
wgpuBufferMapAsync: (bufferIdx, mode, offset, size, callbackInfoPtr) => {
|
||||
const buffer = this.buffers.get(bufferIdx);
|
||||
mode = this.unwrapBigInt(mode);
|
||||
offset = this.unwrapBigInt(offset);
|
||||
size = this.unwrapBigInt(size);
|
||||
|
||||
|
||||
Reference in new issue
Block a user