mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-04 20:14:44 +00:00
wgpu: fix mode which is u64 not unwrapping big int
This commit is contained in:
1
vendor/wgpu/wgpu.js
vendored
1
vendor/wgpu/wgpu.js
vendored
@@ -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