Skip to content

Commit 2d148ed

Browse files
authored
Fix typo in transform_feedback_instanced.html (#163)
1 parent 280b854 commit 2d148ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/transform_feedback_instanced.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230

231231
vertexBuffers[va][ROTATION_LOCATION] = gl.createBuffer();
232232
gl.bindBuffer(gl.ARRAY_BUFFER, vertexBuffers[va][ROTATION_LOCATION]);
233-
gl.bufferData(gl.ARRAY_BUFFER, instanceOffsets, gl.STREAM_COPY);
233+
gl.bufferData(gl.ARRAY_BUFFER, instanceRotations, gl.STREAM_COPY);
234234
gl.vertexAttribPointer(ROTATION_LOCATION, 1, gl.FLOAT, false, 0, 0);
235235
gl.enableVertexAttribArray(ROTATION_LOCATION);
236236

0 commit comments

Comments
 (0)