Skip to content

Commit 1310834

Browse files
committed
WebGPU: use correct destination offset for updateRanges
1 parent 2676030 commit 1310834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/webgpu/utils/WebGPUAttributeUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class WebGPUAttributeUtils {
204204

205205
device.queue.writeBuffer(
206206
buffer,
207-
0,
207+
dataOffset * 4,
208208
array,
209209
dataOffset,
210210
size

0 commit comments

Comments
 (0)