ol 7.0.0-dev.1660302379186 → 7.0.0-dev.1660306204497

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": "ol",
3
- "version": "7.0.0-dev.1660302379186",
3
+ "version": "7.0.0-dev.1660306204497",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '7.0.0-dev.1660302379186';
36
+ export const VERSION = '7.0.0-dev.1660306204497';
@@ -278,7 +278,7 @@ class TileTexture extends EventTarget {
278
278
  this.textures.push(texture);
279
279
 
280
280
  const bandCount =
281
- textureIndex < textureCount - 1 ? 4 : this.bandCount % 4;
281
+ textureIndex < textureCount - 1 ? 4 : ((this.bandCount - 1) % 4) + 1;
282
282
  textureDataArrays[textureIndex] = new DataType(pixelCount * bandCount);
283
283
  }
284
284