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 +1 -1
- package/util.js +1 -1
- package/webgl/TileTexture.js +1 -1
package/package.json
CHANGED
package/util.js
CHANGED
package/webgl/TileTexture.js
CHANGED
|
@@ -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
|
|