@luma.gl/webgl 9.2.4 → 9.2.6
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.2.
|
|
3
|
+
"version": "9.2.6",
|
|
4
4
|
"description": "WebGL2 adapter for the luma.gl core API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@luma.gl/core": "~9.2.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@luma.gl/constants": "9.2.
|
|
46
|
+
"@luma.gl/constants": "9.2.6",
|
|
47
47
|
"@math.gl/types": "^4.1.0",
|
|
48
48
|
"@probe.gl/env": "^4.0.8"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "9c7a3adc09c7b23800df3f916762445ebc1fa924"
|
|
51
51
|
}
|
|
@@ -42,6 +42,7 @@ export class WEBGLBuffer extends Buffer {
|
|
|
42
42
|
// - In WebGL2, we can use GL.COPY_READ_BUFFER which avoids locking the type here
|
|
43
43
|
this.glTarget = getWebGLTarget(this.props.usage);
|
|
44
44
|
this.glUsage = getWebGLUsage(this.props.usage);
|
|
45
|
+
// Note: uint8 indices are converted to uint16 during device normalization for WebGPU compatibility
|
|
45
46
|
this.glIndexType = this.props.indexType === 'uint32' ? GL.UNSIGNED_INT : GL.UNSIGNED_SHORT;
|
|
46
47
|
|
|
47
48
|
// Set data: (re)initializes the buffer
|