Fixed text rendering issue

This commit is contained in:
Felipe Alfonso 2017-03-30 09:48:24 -03:00
parent 168ce84a01
commit 98349a08b8

View file

@ -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;