mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Update RenderTexture.js
This commit is contained in:
parent
50a3555cad
commit
bff7f99fe1
1 changed files with 4 additions and 1 deletions
|
@ -839,7 +839,10 @@ var RenderTexture = new Class({
|
||||||
this.renderer.deleteFramebuffer(this.framebuffer);
|
this.renderer.deleteFramebuffer(this.framebuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this._saved) this.texture.destroy();
|
if (!this._saved)
|
||||||
|
{
|
||||||
|
this.texture.destroy();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue