Skip to content

Commit

Permalink
WebGPUAttributeUtils: fix updateAttribute() when using range (#29966)
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Niehus committed Nov 26, 2024
1 parent c19aa19 commit 8329ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderers/webgpu/utils/WebGPUAttributeUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ class WebGPUAttributeUtils {
buffer,
0,
array,
range.start * array.BYTES_PER_ELEMENT,
range.count * array.BYTES_PER_ELEMENT
range.start,
range.count
);

}
Expand Down

0 comments on commit 8329ab0

Please sign in to comment.