Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jan 15, 2025
1 parent 585616e commit e9f9219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webgl/lessons/webgl1-to-webgl2.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ was global WebGL state. You can imagine it like this
{ enable: ?, size: ?, type: ?, normalize: ?, stride: ?, offset: ?, buffer: ?, },
],
},
}
}

Calling functions like `gl.vertexAttribPointer`, `gl.enableVertexAttribArray`, and
`gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, ??)` would affect that global state.
Expand Down

0 comments on commit e9f9219

Please sign in to comment.