@luma.gl/webgl 9.1.0-alpha.14 → 9.1.0-alpha.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luma.gl/webgl",
3
- "version": "9.1.0-alpha.14",
3
+ "version": "9.1.0-alpha.15",
4
4
  "description": "WebGL2 adapter for the luma.gl core API",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -40,12 +40,12 @@
40
40
  "prepublishOnly": "npm run build-minified-bundle && npm run build-dev-bundle"
41
41
  },
42
42
  "peerDependencies": {
43
- "@luma.gl/core": "9.1.0-alpha.10"
43
+ "@luma.gl/core": "9.1.0-alpha.14"
44
44
  },
45
45
  "dependencies": {
46
- "@luma.gl/constants": "9.1.0-alpha.14",
46
+ "@luma.gl/constants": "9.1.0-alpha.15",
47
47
  "@math.gl/types": "4.1.0-alpha.3",
48
48
  "@probe.gl/env": "^4.0.8"
49
49
  },
50
- "gitHead": "e6e014efa323dbcd7d3774e982e442b1bf2c93be"
50
+ "gitHead": "41af576ca655cb749a5567cf903f9e9242793c77"
51
51
  }
@@ -2,8 +2,8 @@
2
2
  // SPDX-License-Identifier: MIT
3
3
  // Copyright (c) vis.gl contributors
4
4
 
5
- import type {FramebufferProps, TextureFormat} from '@luma.gl/core';
6
- import {Framebuffer, Texture} from '@luma.gl/core';
5
+ import type {FramebufferProps} from '@luma.gl/core';
6
+ import {Framebuffer} from '@luma.gl/core';
7
7
  import {GL} from '@luma.gl/constants';
8
8
  import {WebGLDevice} from '../webgl-device';
9
9
  import {WEBGLTexture} from './webgl-texture';
@@ -91,16 +91,16 @@ export class WEBGLFramebuffer extends Framebuffer {
91
91
  // PRIVATE
92
92
 
93
93
  /** In WebGL we must use renderbuffers for depth/stencil attachments (unless we have extensions) */
94
- protected override createDepthStencilTexture(format: TextureFormat): Texture {
95
- // return new WEBGLRenderbuffer(this.device, {
96
- return new WEBGLTexture(this.device, {
97
- id: `${this.id}-depth-stencil`,
98
- format,
99
- width: this.width,
100
- height: this.height,
101
- mipmaps: false
102
- });
103
- }
94
+ // protected override createDepthStencilTexture(format: TextureFormat): Texture {
95
+ // // return new WEBGLRenderbuffer(this.device, {
96
+ // return new WEBGLTexture(this.device, {
97
+ // id: `${this.id}-depth-stencil`,
98
+ // format,
99
+ // width: this.width,
100
+ // height: this.height,
101
+ // mipmaps: false
102
+ // });
103
+ // }
104
104
 
105
105
  /**
106
106
  * @param attachment