mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
wgpu: fix mode which is u64 not unwrapping big int
This commit is contained in:
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