@galacean/effects 1.4.4 → 1.5.0-alpha.0

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.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects runtime player for the web
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
6
- * Version: v1.4.4
6
+ * Version: v1.5.0-alpha.0
7
7
  */
8
8
 
9
9
  'use strict';
@@ -698,7 +698,7 @@ function isValidFontFamily(fontFamily) {
698
698
  * Name: @galacean/effects-specification
699
699
  * Description: Galacean Effects JSON Specification
700
700
  * Author: Ant Group CO., Ltd.
701
- * Version: v1.2.0
701
+ * Version: v1.3.0-alpha.0
702
702
  */
703
703
 
704
704
  /*********************************************/
@@ -21879,7 +21879,7 @@ var filters = {
21879
21879
  * Name: @galacean/effects-specification
21880
21880
  * Description: Galacean Effects JSON Specification
21881
21881
  * Author: Ant Group CO., Ltd.
21882
- * Version: v1.2.0
21882
+ * Version: v1.3.0-alpha.0
21883
21883
  */
21884
21884
 
21885
21885
  /*********************************************/
@@ -28757,7 +28757,8 @@ var GLProgram = /** @class */ (function () {
28757
28757
  }
28758
28758
  geometry.vaos[programId] = vao;
28759
28759
  }
28760
- if (vao) {
28760
+ // 兼容小程序下不支持vao
28761
+ if (vao && vao.vao) {
28761
28762
  vao.bind();
28762
28763
  if (vao.ready) {
28763
28764
  return vao;
@@ -30926,7 +30927,7 @@ Renderer.create = function (canvas, framework, renderOptions) {
30926
30927
  Engine.create = function (gl) {
30927
30928
  return new GLEngine(gl);
30928
30929
  };
30929
- var version = "1.4.4";
30930
+ var version = "1.5.0-alpha.0";
30930
30931
  logger.info('player version: ' + version);
30931
30932
 
30932
30933
  exports.AbstractPlugin = AbstractPlugin;