Fixed loader bug.
This commit is contained in:
@@ -88,7 +88,7 @@ export class PIXITileLoader extends TileLoader {
|
||||
this.loader.on('load', this._onLoaded.bind(this))
|
||||
this.loader.on('error', this._onError.bind(this))
|
||||
if (compression) {
|
||||
this.loader.pre(PIXI.compressedTextures.imageParser())
|
||||
this.loader.use(PIXI.compressedTextures.ImageParser.use)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user