@galacean/engine-loader 1.6.0-alpha.2 → 1.6.0-beta.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/module.js CHANGED
@@ -6604,9 +6604,7 @@ var ShaderLoader = /*#__PURE__*/ function(Loader) {
6604
6604
  return Shader.find(builtinShader);
6605
6605
  }
6606
6606
  return ShaderChunkLoader._loadChunksInCode(code, url, resourceManager).then(function() {
6607
- var shader = Shader.create(code);
6608
- // @ts-ignore
6609
- shader._registerPath(url);
6607
+ var shader = Shader.create(code, undefined, url);
6610
6608
  return shader;
6611
6609
  });
6612
6610
  });