Update RenderTexture.js

This commit is contained in:
TadejZupancic 2018-08-21 15:40:10 +02:00 committed by GitHub
parent 50a3555cad
commit bff7f99fe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}
}
});