Skip to content

Commit

Permalink
fix(core): vertexArrayObject issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tuner committed Feb 15, 2024
1 parent 5dc308c commit 3c71c7e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/core/src/marks/mark.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,7 @@ export default class Mark {
* @param {any} vertexData TODO: Extract type from VertexBuilder
*/
updateBufferInfo(vertexData) {
if (this.vertexArrayInfo) {
this.gl.bindVertexArray(this.vertexArrayInfo.vertexArrayObject);
}
this.gl.bindVertexArray(null);

if (
this.bufferInfo &&
Expand Down

0 comments on commit 3c71c7e

Please sign in to comment.