mirror of
https://github.com/photonstorm/phaser
synced 2024-12-01 00:49:41 +00:00
Pixi update.
This commit is contained in:
parent
75238c2cce
commit
eb6a09ca0a
1 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ PIXI.SpriteBatch.prototype.initWebGL = function(gl)
|
|||
PIXI.SpriteBatch.prototype.updateTransform = function()
|
||||
{
|
||||
// TODO don't need to!
|
||||
PIXI.DisplayObject.prototype.updateTransform.call( this );
|
||||
this.displayObjectUpdateTransform();
|
||||
// PIXI.DisplayObjectContainer.prototype.updateTransform.call( this );
|
||||
};
|
||||
|
||||
|
@ -101,7 +101,7 @@ PIXI.SpriteBatch.prototype._renderCanvas = function(renderSession)
|
|||
var context = renderSession.context;
|
||||
context.globalAlpha = this.worldAlpha;
|
||||
|
||||
PIXI.DisplayObject.prototype.updateTransform.call(this);
|
||||
this.displayObjectUpdateTransform();
|
||||
|
||||
var transform = this.worldTransform;
|
||||
// alow for trimming
|
||||
|
@ -142,7 +142,7 @@ PIXI.SpriteBatch.prototype._renderCanvas = function(renderSession)
|
|||
{
|
||||
if(!isRotated)isRotated = true;
|
||||
|
||||
PIXI.DisplayObject.prototype.updateTransform.call(child);
|
||||
child.displayObjectUpdateTransform();
|
||||
|
||||
var childTransform = child.worldTransform;
|
||||
|
||||
|
|
Loading…
Reference in a new issue