Skip to content

Commit 196afa1

Browse files
committed
unbind TRANSFORM_FEEDBACK_BUFFER before drawing from it #
1 parent 717f34f commit 196afa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/transform_feedback_instanced.html

+1
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@
338338
gl.useProgram(null);
339339
gl.bindBuffer(gl.ARRAY_BUFFER, null);
340340
gl.bindTransformFeedback(gl.TRANSFORM_FEEDBACK, null);
341+
gl.bindBuffer(gl.TRANSFORM_FEEDBACK_BUFFER, null);
341342

342343
// Ping pong the buffers
343344
currentSourceIdx = (currentSourceIdx + 1) % 2;

0 commit comments

Comments
 (0)