mirror of
https://github.com/wassname/phaser.git
synced 2026-08-17 11:23:42 +08:00
Promoted the Tilemap to a DisplayObject and vastly simplified the load process.
This commit is contained in:
@@ -129,7 +129,10 @@ Phaser.TilemapRenderer.prototype = {
|
||||
}
|
||||
|
||||
// Only needed if running in WebGL, otherwise this array will never get cleared down I don't think!
|
||||
PIXI.texturesToUpdate.push(layer.baseTexture);
|
||||
if (this.game.renderType == Phaser.WEBGL)
|
||||
{
|
||||
PIXI.texturesToUpdate.push(layer.baseTexture);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user