mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Merge pull request #3967 from TadejZupancic/patch-14
RenderTexture: Texture is always destroyed (canvas)
This commit is contained in:
commit
b5116edbe7
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ var RenderTexture = new Class({
|
|||
*/
|
||||
preDestroy: function ()
|
||||
{
|
||||
if (this.canvas)
|
||||
if (this.canvas && !this._saved)
|
||||
{
|
||||
CanvasPool.remove(this.canvas);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue