mirror of
https://github.com/wassname/phaser.git
synced 2026-10-09 12:20:18 +08:00
TilemapParser will now throw a warning if the tileset image isn't the right size for the tile dimensions (fixes #377)
This commit is contained in:
1 parent
3ac8fba9e8
commit
5a00a0ad97
4 files changed
+82
-2
No files matched your search
@@ -365,7 +365,7 @@ Phaser.BitmapData.prototype = {
|
||||
if (this._dirty)
|
||||
{
|
||||
// Only needed if running in WebGL, otherwise this array will never get cleared down
|
||||
if (this.game.renderType == Phaser.WEBGL)
|
||||
if (this.game.renderType === Phaser.WEBGL)
|
||||
{
|
||||
PIXI.texturesToUpdate.push(this.baseTexture);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user