mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 15:14:47 +00:00
Phaser.RenderTexture incorrectly passed the scaleMode to Pixi.RenderTexture, causing the renderer to error.
This commit is contained in:
parent
8d94b4a91c
commit
cdde45a292
2 changed files with 2 additions and 1 deletions
|
@ -78,6 +78,7 @@ Version 2.0.6 - "Jornhill" - -in development-
|
|||
* Sprite.alive property now explicitly defined on the Sprite prototype (thanks @lewster32, #841)
|
||||
* BitmapData.resize now properly updates the baseTexture and texture dimensions.
|
||||
* Fixed Gamepad issue that incorrectly checked non-webkit prefix gamepads.
|
||||
* Phaser.RenderTexture incorrectly passed the scaleMode to Pixi.RenderTexture, causing the renderer to error.
|
||||
|
||||
### Migration Guide
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ Phaser.RenderTexture = function (game, width, height, key, scaleMode) {
|
|||
*/
|
||||
this._temp = new Phaser.Point();
|
||||
|
||||
PIXI.RenderTexture.call(this, width, height, scaleMode);
|
||||
PIXI.RenderTexture.call(this, width, height, this.game.renderer, scaleMode);
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue