mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00: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) => {
|
wgpuBufferMapAsync: (bufferIdx, mode, offset, size, callbackInfoPtr) => {
|
||||||
const buffer = this.buffers.get(bufferIdx);
|
const buffer = this.buffers.get(bufferIdx);
|
||||||
|
mode = this.unwrapBigInt(mode);
|
||||||
offset = this.unwrapBigInt(offset);
|
offset = this.unwrapBigInt(offset);
|
||||||
size = this.unwrapBigInt(size);
|
size = this.unwrapBigInt(size);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user