Skip to content

Commit 198180f

Browse files
committed
Fixed issue phaserjs#3475
1 parent 5fb57e1 commit 198180f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/rendertexture/RenderTexture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ var RenderTexture = new Class({
141141
*/
142142
destroy: function ()
143143
{
144-
GameObject.destroy.call(this);
144+
GameObject.prototype.destroy.call(this);
145145

146146
if (this.renderer.type === CONST.WEBGL)
147147
{

0 commit comments

Comments
 (0)