diff --git a/v3/src/gameobjects/text/static/TextWebGLRenderer.js b/v3/src/gameobjects/text/static/TextWebGLRenderer.js index 5e13c8007..aedaf00ee 100644 --- a/v3/src/gameobjects/text/static/TextWebGLRenderer.js +++ b/v3/src/gameobjects/text/static/TextWebGLRenderer.js @@ -17,7 +17,7 @@ var TextWebGLRenderer = function (renderer, src, interpolationPercentage, camera src.dirty = false; } - renderer.spriteBatch.addSpriteTexture(src, camera, src.canvasTexture, w, h); + renderer.spriteBatch.addSpriteTexture(src, camera, src.canvasTexture, src.prevWidth, src.prevHeight); }; module.exports = TextWebGLRenderer;