Closed quantuminformation closed 7 years ago
Hi Nikos, Cuz we do a
gl.bindVertexArray(null);
at https://github.com/WebGLSamples/WebGL2Samples/blob/master/samples/draw_instanced.html#L90, indicating we finish defining a vertex array.
You can comment this line and the second gl.bindVertexArray(vertexArray);
together to get the sample still working
Thanks for this!
Thanks, I'm trying to understand why do you need to call
twice? I see that if you don't do the initial call you get a black screen.