@luma.gl/engine 9.0.15 → 9.0.17

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.cjs CHANGED
@@ -782,7 +782,7 @@ var ShaderInputs = class {
782
782
  }
783
783
  const oldUniforms = this.moduleUniforms[moduleName];
784
784
  const oldBindings = this.moduleBindings[moduleName];
785
- const uniformsAndBindings = ((_a = module2.getUniforms) == null ? void 0 : _a.call(module2, moduleProps, this.moduleUniforms[moduleName])) || moduleProps;
785
+ const uniformsAndBindings = ((_a = module2.getUniforms) == null ? void 0 : _a.call(module2, moduleProps, oldUniforms)) || moduleProps;
786
786
  const { uniforms, bindings } = (0, import_core5.splitUniformsAndBindings)(uniformsAndBindings);
787
787
  this.moduleUniforms[moduleName] = { ...oldUniforms, ...uniforms };
788
788
  this.moduleBindings[moduleName] = { ...oldBindings, ...bindings };