@luma.gl/webgl 9.0.0-beta.9 → 9.0.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.cjs CHANGED
@@ -3866,9 +3866,9 @@ var WEBGLRenderPipeline = class extends import_core17.RenderPipeline {
3866
3866
  this.device.gl.transformFeedbackVaryings(this.handle, varyings, bufferMode);
3867
3867
  }
3868
3868
  this._linkShaders();
3869
- import_core17.log.time(0, `RenderPipeline ${this.id} - shaderLayout introspection`)();
3869
+ import_core17.log.time(1, `RenderPipeline ${this.id} - shaderLayout introspection`)();
3870
3870
  this.introspectedLayout = getShaderLayout(this.device.gl, this.handle);
3871
- import_core17.log.timeEnd(0, `RenderPipeline ${this.id} - shaderLayout introspection`)();
3871
+ import_core17.log.timeEnd(1, `RenderPipeline ${this.id} - shaderLayout introspection`)();
3872
3872
  this.shaderLayout = (0, import_core18.mergeShaderLayout)(this.introspectedLayout, props.shaderLayout);
3873
3873
  switch (this.props.topology) {
3874
3874
  case "triangle-fan-webgl":
@@ -4134,9 +4134,9 @@ var WEBGLRenderPipeline = class extends import_core17.RenderPipeline {
4134
4134
  texture = value.texture;
4135
4135
  } else if (value instanceof WEBGLTexture) {
4136
4136
  texture = value;
4137
- } else if (value instanceof WEBGLFramebuffer && value.colorAttachments[0] instanceof WEBGLTexture) {
4137
+ } else if (value instanceof WEBGLFramebuffer && value.colorAttachments[0] instanceof WEBGLTextureView) {
4138
4138
  import_core17.log.warn("Passing framebuffer in texture binding may be deprecated. Use fbo.colorAttachments[0] instead")();
4139
- texture = value.colorAttachments[0];
4139
+ texture = value.colorAttachments[0].texture;
4140
4140
  } else {
4141
4141
  throw new Error("No texture");
4142
4142
  }