Skip to content

Commit a6831ac

Browse files
authored
Merge pull request WebGLSamples#160 from Reon90/master
unbind TRANSFORM_FEEDBACK_BUFFER before drawing from it #
2 parents 717f34f + 196afa1 commit a6831ac

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)