We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44c492a commit b242dd6Copy full SHA for b242dd6
1 file changed
lib/PDL/Graphics/TriD/GL.pm
@@ -495,6 +495,7 @@ sub gdraw {
495
$this->togl_bind;
496
glVertexAttribDivisor($this->{Impl}{offset_loc}, 1);
497
glDrawElementsInstancedARB_c(GL_TRIANGLE_STRIP, $this->{Impl}{idx}->dim(0), GL_UNSIGNED_INT, 0, $this->{Impl}{noffset});
498
+ glVertexAttribDivisor($this->{Impl}{offset_loc}, 0);
499
$this->togl_unbind;
500
}
501
0 commit comments