@luma.gl/webgl 9.0.12 → 9.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4464,6 +4464,7 @@ var WEBGLVertexArray = class extends import_core21.VertexArray {
4464
4464
  } else {
4465
4465
  this.device.gl.vertexAttribPointer(location, size, type, normalized, stride, offset);
4466
4466
  }
4467
+ this.device.gl.bindBuffer(34962, null);
4467
4468
  this.device.gl.enableVertexAttribArray(location);
4468
4469
  this.device.gl.vertexAttribDivisor(location, divisor || 0);
4469
4470
  this.attributes[location] = buffer;
@@ -4642,7 +4643,7 @@ var WEBGLTransformFeedback = class extends import_core22.TransformFeedback {
4642
4643
  }
4643
4644
  end() {
4644
4645
  this.gl.endTransformFeedback();
4645
- if (!this.bindOnUse) {
4646
+ if (this.bindOnUse) {
4646
4647
  this._unbindBuffers();
4647
4648
  }
4648
4649
  this.gl.bindTransformFeedback(36386, null);