mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Merge branch 'master' of https://github.com/photonstorm/phaser
This commit is contained in:
commit
e29de6a9b3
2 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ var RenderTexture = new Class({
|
|||
*/
|
||||
destroy: function ()
|
||||
{
|
||||
GameObject.destroy.call(this);
|
||||
GameObject.prototype.destroy.call(this);
|
||||
|
||||
if (this.renderer.type === CONST.WEBGL)
|
||||
{
|
||||
|
|
|
@ -220,8 +220,8 @@ var StaticTilemapLayer = new Class({
|
|||
var tileset = this.tileset;
|
||||
var mapWidth = this.layer.width;
|
||||
var mapHeight = this.layer.height;
|
||||
var width = tileset.image.get().width;
|
||||
var height = tileset.image.get().height;
|
||||
var width = tileset.image.source[0].width;
|
||||
var height = tileset.image.source[0].height;
|
||||
var mapData = this.layer.data;
|
||||
var renderer = this.renderer;
|
||||
var tile;
|
||||
|
|
Loading…
Reference in a new issue