@luma.gl/core 9.1.2 → 9.1.4
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/adapter/canvas-context.js +1 -1
- package/dist/adapter/canvas-context.js.map +1 -1
- package/dist/adapter/luma.js +1 -1
- package/dist/adapter/resources/vertex-array.js +1 -1
- package/dist/adapter/resources/vertex-array.js.map +1 -1
- package/dist/dist.dev.js +2 -2
- package/dist/dist.min.js +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +2 -2
- package/package.json +2 -2
- package/src/adapter/canvas-context.ts +1 -1
- package/src/adapter/resources/vertex-array.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luma.gl/core",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.4",
|
|
4
4
|
"description": "The luma.gl core Device API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@probe.gl/stats": "^4.0.8",
|
|
47
47
|
"@types/offscreencanvas": "^2019.6.4"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "553efa111ddb2709b2278d1e3f6c83cb66a36052"
|
|
50
50
|
}
|
|
@@ -293,7 +293,7 @@ export abstract class CanvasContext {
|
|
|
293
293
|
const gl = this.device.gl;
|
|
294
294
|
if (!gl) {
|
|
295
295
|
// use default device pixel ratio
|
|
296
|
-
|
|
296
|
+
return this.getPixelSize();
|
|
297
297
|
}
|
|
298
298
|
return [gl.drawingBufferWidth, gl.drawingBufferHeight];
|
|
299
299
|
}
|
|
@@ -72,6 +72,6 @@ export abstract class VertexArray extends Resource<VertexArrayProps> {
|
|
|
72
72
|
|
|
73
73
|
/** @deprecated Set constant attributes (WebGL only) */
|
|
74
74
|
setConstantWebGL(location: number, value: TypedArray | null): void {
|
|
75
|
-
|
|
75
|
+
this.device.reportError(new Error('constant attributes not supported'));
|
|
76
76
|
}
|
|
77
77
|
}
|