From e9f9219feb6565cc7ba056faaae0e900c5480347 Mon Sep 17 00:00:00 2001 From: Gregg Tavares <github@greggman.com> Date: Tue, 14 Jan 2025 19:39:16 -0800 Subject: [PATCH] fix type --- webgl/lessons/webgl1-to-webgl2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webgl/lessons/webgl1-to-webgl2.md b/webgl/lessons/webgl1-to-webgl2.md index d2739e144..f882c7c35 100644 --- a/webgl/lessons/webgl1-to-webgl2.md +++ b/webgl/lessons/webgl1-to-webgl2.md @@ -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.