mirror of
https://github.com/wassname/phaser.git
synced 2026-07-31 12:40:07 +08:00
Adding Type support for collision checks.
This commit is contained in:
@@ -13,6 +13,8 @@ Phaser.RenderTexture = function (game, key, width, height) {
|
||||
|
||||
this.frame = new PIXI.Rectangle(0, 0, this.width, this.height);
|
||||
|
||||
this.type = Phaser.RENDERTEXTURE;
|
||||
|
||||
if (PIXI.gl)
|
||||
{
|
||||
this.initWebGL();
|
||||
|
||||
Reference in New Issue
Block a user