@luma.gl/webgl 9.1.0-alpha.18 → 9.1.0-alpha.19
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.
|
|
3
|
+
"version": "9.1.0-alpha.19",
|
|
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.1.0-alpha.17"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@luma.gl/constants": "9.1.0-alpha.
|
|
46
|
+
"@luma.gl/constants": "9.1.0-alpha.19",
|
|
47
47
|
"@math.gl/types": "4.1.0-alpha.3",
|
|
48
48
|
"@probe.gl/env": "^4.0.8"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "c836c09a5105e2515a036abff4a1b926d245a152"
|
|
51
51
|
}
|
|
@@ -243,8 +243,8 @@ export class WEBGLTexture extends Texture {
|
|
|
243
243
|
const {dimension, glTarget, glFormat, glInternalFormat, glType} = this;
|
|
244
244
|
|
|
245
245
|
// WebGL will error if we try to copy outside the bounds of the texture
|
|
246
|
-
width = Math.min(width,
|
|
247
|
-
height = Math.min(height,
|
|
246
|
+
width = Math.min(width, this.width - x);
|
|
247
|
+
height = Math.min(height, this.height - y);
|
|
248
248
|
|
|
249
249
|
if (options.sourceX || options.sourceY) {
|
|
250
250
|
// requires copyTexSubImage2D from a framebuffer'
|