mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +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);
|
||||
}
|
||||
|
||||
if (!this._saved) this.texture.destroy();
|
||||
if (!this._saved)
|
||||
{
|
||||
this.texture.destroy();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue