From 749bcc33918b63e657e9d17f8b4a4a43bda498ac Mon Sep 17 00:00:00 2001 From: Evgeny Rodygin Date: Mon, 13 Mar 2023 12:59:04 +0300 Subject: [PATCH] Patch for recent release (#127) * Patched Vao for webgl1 * 0.13.2 --- package-lock.json | 4 ++-- package.json | 2 +- src/Vao.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 741cc80..223b67d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "2gl", - "version": "0.13.1", + "version": "0.13.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "2gl", - "version": "0.13.1", + "version": "0.13.2", "license": "SEE LICENSE IN FILE", "dependencies": { "@2gis/gl-matrix": "^2.4.1" diff --git a/package.json b/package.json index 9e24ebf..b10d025 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "2gl", - "version": "0.13.1", + "version": "0.13.2", "description": "WebGL library for 2GIS projects", "repository": { "type": "git", diff --git a/src/Vao.js b/src/Vao.js index a0b6e97..05df023 100644 --- a/src/Vao.js +++ b/src/Vao.js @@ -98,7 +98,7 @@ class Vao { if (shaderAttribute.index !== true) { gl.enableVertexAttribArray(shaderAttribute.location); } - attributes[name].bind(gl, shaderAttribute.location, null, instancesExt); + attributes[name].bind(gl, shaderAttribute.location, instancesExt); } if (this.indicesBuffer) { this.indicesBuffer.bind(gl);