Skip to content

Commit

Permalink
Merge 21a606a into 89aa8d0
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer committed Mar 13, 2024
2 parents 89aa8d0 + 21a606a commit 927e9fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/core/src/lib/attribute/gl-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export function typedArrayFromDataType(type: LogicalDataType): TypedArrayConstru
switch (type) {
case 'float64':
return Float64Array;
case 'uint8':
case 'unorm8':
return Uint8ClampedArray;
default:
return getTypedArrayFromDataType(type);
}
Expand Down

0 comments on commit 927e9fd

Please sign in to comment.