Skip to content

Commit

Permalink
Remove "as any" (#5054)
Browse files Browse the repository at this point in the history
Co-authored-by: HarelM <harel.mazor@gmail.com>
  • Loading branch information
ramyaragupathy and HarelM authored Nov 16, 2024
1 parent 798a549 commit bc43205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gl/vertex_buffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class VertexBuffer {
gl.vertexAttribPointer(
attribIndex,
member.components,
(gl as any)[AttributeType[member.type]],
gl[AttributeType[member.type]],
false,
this.itemSize,
member.offset + (this.itemSize * (vertexOffset || 0))
Expand Down

0 comments on commit bc43205

Please sign in to comment.