Mouse callback tests.

This commit is contained in:
photonstorm
2014-02-07 07:32:11 +00:00
parent 9b9baa83a9
commit 890e52008a
5 changed files with 214 additions and 28 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
* @param {number} [width=100] - The width of the render texture.
* @param {number} [height=100] - The height of the render texture.
*/
Phaser.RenderTexture = function (game, key, width, height) {
Phaser.RenderTexture = function (game, width, height, key) {
/**
* @property {Phaser.Game} game - A reference to the currently running game.
@@ -30,7 +30,7 @@ Phaser.RenderTexture = function (game, key, width, height) {
*/
this.type = Phaser.RENDERTEXTURE;
PIXI.RenderTexture.call(this, width, height, renderer);
PIXI.RenderTexture.call(this, width, height);
};