@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/adapter/resources/webgl-texture.d.ts +1 -1
- package/dist/adapter/resources/webgl-transform-feedback.js +1 -1
- package/dist/adapter/resources/webgl-vertex-array.d.ts.map +1 -1
- package/dist/adapter/resources/webgl-vertex-array.js +3 -0
- package/dist/dist.dev.js +27 -18
- package/dist/dist.min.js +2 -2
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +2 -2
- package/package.json +3 -3
- package/src/adapter/resources/webgl-transform-feedback.ts +1 -1
- package/src/adapter/resources/webgl-vertex-array.ts +3 -0
- package/dist.min.js +0 -19
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 (
|
|
4646
|
+
if (this.bindOnUse) {
|
|
4646
4647
|
this._unbindBuffers();
|
|
4647
4648
|
}
|
|
4648
4649
|
this.gl.bindTransformFeedback(36386, null);
|