diff --git a/src/gameobjects/text/static/Text.js b/src/gameobjects/text/static/Text.js index 7cb1cfcb6..0ece22129 100644 --- a/src/gameobjects/text/static/Text.js +++ b/src/gameobjects/text/static/Text.js @@ -1273,7 +1273,7 @@ var Text = new Class({ context.restore(); - if (this.renderer.gl) + if (this.renderer && this.renderer.gl) { this.frame.source.glTexture = this.renderer.canvasToTexture(canvas, this.frame.source.glTexture, true);